Module Conduit_lwt_unix_ssl.ClientSource

Sourcetype verify = {
  1. hostname : bool;
  2. ip : bool;
}
Sourceval default_verify : verify
Sourcetype context =
  1. | Ssl_not_available
Sourceval default_ctx : context
Sourceval create_ctx : ?certfile:string -> ?keyfile:string -> ?password:(bool -> string) -> unit -> context
Sourceval connect : ?ctx:context -> ?src:Lwt_unix.sockaddr -> ?hostname:string -> ?ip:Ipaddr.t -> ?verify:verify -> Lwt_unix.sockaddr -> (Lwt_unix.file_descr * Lwt_io.input_channel * Lwt_io.output_channel) Lwt.t