ReWeb.Client
Make web requests.
The request functions below return a response of type ([> Response.http], string) Lwt_result.t
. This is a promise containing a result
of either Ok response
where response
is an HTTP response, or a string
containing an error message.
type config = Piaf.Config.t = {
}
See the Piaf module documentation for more information on these options.
val config : config
Use this config
value to override the default config in client requests.
module New : sig ... end
Make requests with a one-shot i.e. stateless client.