package awsm-async

  1. Overview
  2. Docs

Module Http.ClientSource

Sourceval get : ?headers:Cohttp.Header.t -> Uri.t -> (Response.t * Body.t) Async.Deferred.t
Sourceval post : ?headers:Cohttp.Header.t -> ?body:Body.t -> ?chunked:bool -> Uri.t -> (Response.t * Body.t) Async.Deferred.t
Sourceval put : ?headers:Cohttp.Header.t -> ?body:Body.t -> ?chunked:bool -> Uri.t -> (Response.t * Body.t) Async.Deferred.t
Sourceval delete : ?headers:Cohttp.Header.t -> ?body:Body.t -> ?chunked:bool -> Uri.t -> (Response.t * Body.t) Async.Deferred.t