dream-httpaf.h2-lwt
H2_lwt.Client
dream-httpaf
dream-httpaf.gluten
dream-httpaf.gluten-lwt
dream-httpaf.gluten-lwt-unix
dream-httpaf.h2
dream-httpaf.h2-lwt-unix
dream-httpaf.hpack
dream-httpaf.httpaf
dream-httpaf.httpaf-lwt
dream-httpaf.httpaf-lwt-unix
dream-httpaf.websocketaf
dream-httpaf.websocketaf-lwt
dream-httpaf.websocketaf-lwt-unix
module Client_runtime : Gluten_lwt.Client
type socket = Client_runtime.socket
type runtime = Client_runtime.t
type t = {
connection : H2.Client_connection.t;
runtime : runtime;
}
val create_connection : ?config:H2.Config.t -> ?push_handler: (H2.Request.t -> (H2.Client_connection.response_handler, unit) result) -> error_handler:H2.Client_connection.error_handler -> socket -> t Lwt.t
val request : t -> ?trailers_handler:H2.Client_connection.trailers_handler -> H2.Request.t -> error_handler:H2.Client_connection.error_handler -> response_handler:H2.Client_connection.response_handler -> [ `write ] H2.Body.t
val ping : t -> ?payload:Bigstringaf.t -> ?off:int -> (unit -> unit) -> unit
val shutdown : t -> unit Lwt.t
val is_closed : t -> bool