package b0

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.