package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module H2 = Dream_h2.H2
type socket
type runtime
type t = {
  1. connection : H2.Client_connection.t;
  2. runtime : runtime;
}
val create_connection : ?config:Dream_h2.H2.Config.t -> ?push_handler: (Dream_h2.H2.Request.t -> (Dream_h2.H2.Client_connection.response_handler, unit) Stdlib.result) -> error_handler:Dream_h2.H2.Client_connection.error_handler -> socket -> t Lwt.t
val ping : t -> ?payload:Bigstringaf.t -> ?off:int -> (unit -> unit) -> unit
val shutdown : t -> unit Lwt.t
val is_closed : t -> bool
OCaml

Innovation. Community. Security.