package httpun-async

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a socket = ([ `Active ], [< Async.Socket.Address.t ] as 'a) Async.Socket.t
type 'a runtime constraint 'a = [< Async.Socket.Address.t ]
type 'a t = {
  1. connection : Httpun.Client_connection.t;
  2. runtime : 'a runtime;
}
val create_connection : ?config:Httpun.Config.t -> 'a socket -> 'a t Async.Deferred.t
val 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
val shutdown : 'a t -> unit Async.Deferred.t
val is_closed : 'a t -> bool
val upgrade : 'a t -> Gluten.impl -> unit
module SSL : sig ... end
OCaml

Innovation. Community. Security.