package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

doc/b0.std/B0_http/Http/Request/index.html

Module Http.RequestSource

HTTP requests.

Sourcetype t

The type for HTTP requests.

Sourceval make : ?headers:headers -> ?body:string -> method' -> url:B0_url.t -> t

make m ~url ~headers ~body is a request on url with method m, headers headers (defaults to []) and body body (defaults to "").

Sourceval url : t -> B0_url.t

url r is the URL of r.

Sourceval method' : t -> method'

meth r is the method of r.

Sourceval headers : t -> headers

headers r are the headers of r.

Sourceval body : t -> string

body r is the body of r.