TLSUserEvent

public enum TLSUserEvent : Equatable

Common user events sent by all TLS implementations.

  • The TLS handshake has completed. If ALPN or NPN were used, the negotiated protocol is provided as negotiatedProtocol.

    Declaration

    Swift

    case handshakeCompleted(negotiatedProtocol: String?)
  • The TLS connection has been successfully and cleanly shut down. No further application data can be sent or received at this time.

    Declaration

    Swift

    case shutdownCompleted