Module H2_eio.Client

type t = {
  1. connection : H2.Client_connection.t;
  2. runtime : Gluten_eio.Client.t;
}
val request : t -> ?flush_headers_immediately:bool -> ?trailers_handler:H2.Client_connection.trailers_handler -> H2.Request.t -> error_handler:H2.Client_connection.error_handler -> response_handler:H2.Client_connection.response_handler -> H2.Body.Writer.t
val ping : ?payload:Bigstringaf.t -> ?off:int -> t -> (unit, [ `EOF ]) result Eio.Promise.t
val shutdown : t -> unit Eio.Promise.t
val is_closed : t -> bool