package h2-lwt-unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include H2_lwt.Client with type socket = Lwt_unix.file_descr
type t
type socket = Lwt_unix.file_descr
val create_connection : ?config:H2.Config.t -> ?push_handler: (H2.Request.t -> (H2.Client_connection.response_handler, unit) Stdlib.result) -> error_handler:H2.Client_connection.error_handler -> socket -> t Lwt.t
val create_h2c_connection : ?config:H2.Config.t -> ?push_handler: (H2.Request.t -> (H2.Client_connection.response_handler, unit) Stdlib.result) -> http_request:Httpaf.Request.t -> error_handler:H2.Client_connection.error_handler -> (H2.Client_connection.response_handler * H2.Client_connection.error_handler) -> socket -> (t, string) Stdlib.result Lwt.t
val request : t -> 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
val is_closed : t -> bool
module TLS : sig ... end
module SSL : sig ... end
OCaml

Innovation. Community. Security.