package conduit-lwt-unix

  1. Overview
  2. Docs

Module Conduit_lwt_unix_ssl.ClientSource

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

Innovation. Community. Security.