Module Conduit_lwt_unix_ssl.Client

type verify = {
  1. hostname : bool;
  2. ip : bool;
}
val default_verify : verify
type context = Ssl.context
val default_ctx : context
val create_ctx : ?certfile:string -> ?keyfile:string -> ?password:(bool -> string) -> unit -> Ssl.context
val 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