dream-httpaf.httpaf-lwt
Httpaf_lwt.Client
dream-httpaf
dream-httpaf.gluten
dream-httpaf.gluten-lwt
dream-httpaf.gluten-lwt-unix
dream-httpaf.h2
dream-httpaf.h2-lwt
dream-httpaf.h2-lwt-unix
dream-httpaf.hpack
dream-httpaf.httpaf
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 : Httpaf.Client_connection.t;
runtime : runtime;
}
val create_connection : ?config:Httpaf.Config.t -> socket -> t Lwt.t
val request : t -> Httpaf.Request.t -> error_handler:Httpaf.Client_connection.error_handler -> response_handler:Httpaf.Client_connection.response_handler -> Httpaf.Body.Writer.t
val shutdown : t -> unit Lwt.t
val is_closed : t -> bool
val upgrade : t -> Gluten.impl -> unit