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/index.html

Module B0_http.HttpSource

HTTP datatypes.

Sourcetype method' = [
  1. | `CONNECT
  2. | `DELETE
  3. | `GET
  4. | `HEAD
  5. | `OPTIONS
  6. | `Other of string
  7. | `PATCH
  8. | `POST
  9. | `PUT
  10. | `TRACE
]

The type for HTTP methods.

Sourceval method_to_string : method' -> string

method_to_string m is an HTTP method string for m.

Sourcetype headers = (string * string) list

The type for HTTP headers. List of header names (without the :) tupled with their value.

Sourcemodule Request : sig ... end

HTTP requests.

Sourcemodule Response : sig ... end

HTTP responses.