package dream-httpaf

  1. Overview
  2. Docs
Internal: shared http/af stack for Dream (server) and Hyper (client)

Install

Dune Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha3.tar.gz
sha256=f289253109aee39ab912f9f38aa5e7b44e0b4b01fd7d3dd5c407b034c57f01bc
md5=148588e6f584cd9f2438e56da7df2f56

doc/dream-httpaf.h2-lwt-unix/H2_lwt_unix/Client/TLS/index.html

Module Client.TLSSource

include H2_lwt.Client with type socket = Gluten_lwt_unix.Client.TLS.socket and type runtime = Gluten_lwt_unix.Client.TLS.t
Sourcetype t = {
  1. connection : H2.Client_connection.t;
  2. runtime : runtime;
}
Sourceval 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
Sourceval 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
Sourceval ping : t -> ?payload:Bigstringaf.t -> ?off:int -> (unit -> unit) -> unit
Sourceval shutdown : t -> unit Lwt.t
Sourceval is_closed : t -> bool
Sourceval create_connection_with_default : ?config:H2.Config.t -> ?push_handler: (H2.Request.t -> (H2.Client_connection.response_handler, unit) result) -> error_handler:H2.Client_connection.error_handler -> Lwt_unix.file_descr -> t Lwt.t
OCaml

Innovation. Community. Security.