dream.h2-lwt-unix
H2_lwt_unix.Client
dream
dream.cipher
dream.gluten
dream.gluten-lwt
dream.gluten-lwt-unix
dream.graphiql
dream.graphql
dream.h2
dream.h2-lwt
dream.hpack
dream.http
dream.httpaf
dream.httpaf-lwt
dream.httpaf-lwt-unix
dream.localhost
dream.middleware
dream.pure
dream.sql
dream.websocketaf
include H2_lwt.Client with type socket = Lwt_unix.file_descr and type runtime = Gluten_lwt_unix.Client.t
type socket = Lwt_unix.file_descr
type runtime = Gluten_lwt_unix.Client.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
module TLS : sig ... end
module SSL : sig ... end