package httpun-lwt

  1. Overview
  2. Docs

Module Httpun_lwt.ClientSource

Parameters

Signature

include Client with type socket = Client_runtime.socket and type runtime = Client_runtime.t
Sourcetype runtime = Client_runtime.t
Sourcetype t = {
  1. connection : Httpun.Client_connection.t;
  2. runtime : runtime;
}
Sourceval request : t -> ?flush_headers_immediately:bool -> Httpun.Request.t -> error_handler:Httpun.Client_connection.error_handler -> response_handler:Httpun.Client_connection.response_handler -> Httpun.Body.Writer.t
Sourceval shutdown : t -> unit Lwt.t
Sourceval is_closed : t -> bool
Sourceval upgrade : t -> Gluten.impl -> unit
Sourceval create_connection : ?config:Httpun.Config.t -> Client_runtime.socket -> t Lwt.t
OCaml

Innovation. Community. Security.