Module Client.SSL
include H2_lwt.Client with type socket = H2_lwt_unix__.Ssl_io.descriptor
type ttype socket= H2_lwt_unix__.Ssl_io.descriptor
val create_connection : ?config:H2.Config.t -> ?push_handler:(H2.Request.t -> (H2.Client_connection.response_handler, unit) Stdlib.result) -> error_handler:H2.Client_connection.error_handler -> socket -> t Lwt.tval create_h2c_connection : ?config:H2.Config.t -> ?push_handler:(H2.Request.t -> (H2.Client_connection.response_handler, unit) Stdlib.result) -> http_request:Httpaf.Request.t -> error_handler:H2.Client_connection.error_handler -> (H2.Client_connection.response_handler * H2.Client_connection.error_handler) -> socket -> (t, string) Stdlib.result Lwt.tval request : t -> H2.Request.t -> error_handler:H2.Client_connection.error_handler -> response_handler:H2.Client_connection.response_handler -> [ `write ] H2.Body.tval ping : t -> ?payload:Bigstringaf.t -> ?off:int -> (unit -> unit) -> unitval shutdown : t -> unitval is_closed : t -> bool
val create_connection_with_default : ?config:H2.Config.t -> ?push_handler:(H2.Request.t -> (H2.Client_connection.response_handler, unit) Stdlib.result) -> error_handler:H2.Client_connection.error_handler -> Lwt_unix.file_descr -> t Lwt.t