Module Httpun_lwt_tls

val encryption : [ `SSL | `TLS ] Stdlib.ref
val request : ?alpn_protocols:string list -> hostname:string -> socket:Lwt_unix.file_descr -> error_handler:Httpun.Client_connection.error_handler -> response_handler:Httpun.Client_connection.response_handler -> Httpun.Request.t -> (Httpun.Body.Writer.t * (unit -> unit Lwt.t), 'a) Stdlib.result Lwt.t