Module Conduit_lwt_unix_ssl.Client
type verify = {
hostname : bool;
ip : bool;
}
type context = Ssl.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