Module Client.Connection

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 close_finished : 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