class type ssl_multiplex_controller =Theobject..end
ssl_multiplex_controller is an extended multiplex controller
which can also control SSL handshakes.
Important note: SSL/TLS does not support half-open connections. When
one party closes the connection, the other party must immediately
close the connection, too, throwing away any pending writes. See
RFC 2246.
Inherits
method ssl_socket : Ssl.socketmethod ssl_socket_state : [ `Clean | `Client | `Server | `Unclean | `Unset ]`Unset: A fresh socket`Client: A socket playing the SSL client role`Server: A socket playing the SSL server role`Unclean: The socket state is unclean. The socket is no longer usable.`Clean: The SSL connection has been cleanly shut down.method ssl_connecting : boolmethod ssl_accepting : boolmethod start_ssl_connecting : when_done:(exn option -> unit) -> unit -> unitwhen_done callback is invoked when the handshake is done.
One can neither read nor write before that.
method start_ssl_accepting : when_done:(exn option -> unit) -> unit -> unitwhen_done callback is invoked when the handshake is done.
One can neither read nor write before that.