Plasma GitLab Archive
Projects Blog Knowledge

Module Uq_ssl


module Uq_ssl: sig .. end
Asynchronous SSL connections

exception Ssl_error of Ssl.ssl_error
Used in when_done callbacks to indicate an SSL-specific error code
class type ssl_multiplex_controller = object .. end
The ssl_multiplex_controller is an extended multiplex controller which can also control SSL handshakes.
val create_ssl_multiplex_controller : ?close_inactive_descr:bool ->
?preclose:(unit -> unit) ->
Unix.file_descr ->
Ssl.context -> Unixqueue.event_system -> ssl_multiplex_controller
Creates a multiplex controller for an SSL socket. The descriptor must be a connected socket descriptor.

close_inactive_descr: Whether to close the file descriptor by inactivate.

preclose: This function is called immediately before closing the descriptor

val ssl_connect_engine : ssl_multiplex_controller -> unit Uq_engines.engine
This engine performs the client handshake.
val ssl_accept_engine : ssl_multiplex_controller -> unit Uq_engines.engine
This engine performs the server handshake.

Debugging


module Debug: sig .. end
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml