NIOTLSUnwrappingError

public enum NIOTLSUnwrappingError : Error

Represents errors that may occur while attempting to unwrap TLS from a connection.

  • The TLS channel has already been closed, so it is not possible to unwrap it.

    Declaration

    Swift

    case alreadyClosed
  • The internal state of the handler is not able to process the unwrapping request.

    Declaration

    Swift

    case invalidInternalState
  • We were unwrapping the connection, but during the unwrap process a close call was made. This means the connection is now closed, not unwrapped.

    Declaration

    Swift

    case closeRequestedDuringUnwrap
  • This write was failed because the channel was unwrapped before it was flushed.

    Declaration

    Swift

    case unflushedWriteOnUnwrap