package cohttp-async

  1. Overview
  2. Docs
type t
val connect : ?interrupt:unit Async_kernel.Deferred.t -> ?ssl_config:Conduit_async.V2.Ssl.Config.t -> Uri.t -> t Async_kernel.Deferred.t
val close : t -> unit Async_kernel.Deferred.t
val is_closed : t -> bool
val request : ?body:Body.t -> t -> Http.Request.t -> (Http.Response.t * Body.t) Async_kernel.Deferred.t
OCaml

Innovation. Community. Security.