Skip to content

NetSSLLifecycleEventReceiver

[Source]

If you implement this interface, you will be able to get callbackes when major SSL lifecycle changes happen if you are using a NetSSLClientConnection or `NetSSLClientConnection.

interface ref NetSSLLifecycleEventReceiver

Public Functions

on_alpn_negotiated

[Source]

Called when a final protocol is negotatiated using ALPN. Will only be called if you set your connnection up using ALPN.

fun ref on_alpn_negotiated(
  protocol: (String val | None val))
: None val

Parameters

Returns


on_ssl_auth_failed

[Source]

Called when the SSL handshake fails due to authentication failure.

fun ref on_ssl_auth_failed()
: None val

Returns


on_ssl_error

[Source]

Called when an unknown SSL error was encountered during the handshake.

fun ref on_ssl_error()
: None val

Returns