b0.std
B0_http.Http
HTTP datatypes.
ocaml
b0
opam
b0 test
b0.file
b0.kit
b0.memo
b0.tool
type method' = [
| `CONNECT
| `DELETE
| `GET
| `HEAD
| `OPTIONS
| `Other of string
| `PATCH
| `POST
| `PUT
| `TRACE
]
The type for HTTP methods.
val method_to_string : method' -> string
method_to_string m is an HTTP method string for m.
method_to_string m
m
type headers = (string * string) list
The type for HTTP headers. List of header names (without the :) tupled with their value.
:
module Request : sig ... end
HTTP requests.
module Response : sig ... end
HTTP responses.