package httpun-async

  1. Overview
  2. Docs

Module Client.SSLSource

Sourcetype 'a runtime constraint 'a = [< Async.Socket.Address.t ]
Sourcetype 'a t = {
  1. connection : Httpun.Client_connection.t;
  2. runtime : 'a runtime;
}
Sourceval create_connection : ?config:Httpun.Config.t -> 'a socket -> 'a t Async.Deferred.t
Sourceval request : 'a 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 : 'a t -> unit Async.Deferred.t
Sourceval is_closed : 'a t -> bool
Sourceval upgrade : 'a t -> Gluten.impl -> unit
Sourceval create_connection_with_default : ?config:Httpun.Config.t -> ([ `Active ], [< Async.Socket.Address.t ] as 'a) Async.Socket.t -> 'a t Async.Deferred.t
OCaml

Innovation. Community. Security.