Http.Request
HTTP requests.
val make : ?headers:headers -> ?body:string -> url:B0_std.Url.t -> method' -> t
make uri m ~headers ~body
is a request on url
with method m
, headers headers
(defaults to []
) and body body
(defaults to ""
).
val url : t -> B0_std.Url.t
url r
is the URL of r
.
val body : t -> string
body r
is the body of r
.