Http.Request
HTTP requests.
type t
The type for HTTP requests.
val 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 "").
make m ~url ~headers ~body
url
m
headers
[]
body
""
val url : t -> B0_url.t
url r is the URL of r.
url r
r
val method' : t -> method'
meth r is the method of r.
meth r
val headers : t -> headers
headers r are the headers of r.
headers r
val body : t -> string
body r is the body of r.
body r