Async_ssl.Ssl
module Version : module type of Version
module Opt : module type of Opt
module Verify_mode : module type of Verify_mode
val secure_ciphers : string list
module Certificate : sig ... end
module Session : sig ... end
module Connection : sig ... end
val client : ?version:Version.t -> ?options:Opt.t list -> ?name:string -> ?hostname:string -> ?allowed_ciphers:[ `Secure | `Openssl_default | `Only of string list ] -> ?ca_file:string -> ?ca_path:string -> ?crt_file:string -> ?key_file:string -> ?verify_modes:Verify_mode.t list -> ?session:Session.t -> app_to_ssl:string Async.Pipe.Reader.t -> ssl_to_app:string Async.Pipe.Writer.t -> net_to_ssl:string Async.Pipe.Reader.t -> ssl_to_net:string Async.Pipe.Writer.t -> unit -> Connection.t Async.Deferred.Or_error.t
val server : ?version:Version.t -> ?options:Opt.t list -> ?name:string -> ?allowed_ciphers:[ `Secure | `Openssl_default | `Only of string list ] -> ?ca_file:string -> ?ca_path:string -> crt_file:string -> key_file:string -> ?verify_modes:Verify_mode.t list -> app_to_ssl:string Async.Pipe.Reader.t -> ssl_to_app:string Async.Pipe.Writer.t -> net_to_ssl:string Async.Pipe.Reader.t -> ssl_to_net:string Async.Pipe.Writer.t -> unit -> Connection.t Async.Deferred.Or_error.t