package cohttp

  1. Overview
  2. Docs
An OCaml library for HTTP clients and servers

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cohttp-6.3.0.tbz
sha256=31130f68a9f0a5cd8d71b55f042456e6d35bf8b7ab6a71ab6d7bd7dbdb607b24
sha512=1b14571b8aef12ae51f94eb7e94a8fc6e26b64dffedd86f8f9c237479b980395a2424ca7a9ce3dc285608bce770170688e86b4ba6da82370ca5fe7a9649cd19f

doc/cohttp/Cohttp/index.html

Module CohttpSource

Sourcemodule Accept : sig ... end

Accept-Encoding HTTP header parsing and generation

Sourcemodule Auth : sig ... end

HTTP Authentication and Authorization header parsing and generation

Sourcemodule Body : sig ... end

HTTP request and response body handling

Sourcemodule Conf : sig ... end

Compile-time configuration variables

Sourcemodule Connection : sig ... end

Connection identifiers.

Sourcemodule Code : sig ... end

Functions for the HTTP Cookie and Set-Cookie header fields. Using the Set-Cookie header field, an HTTP server can pass name/value pairs and associated metadata (called cookies) to a user agent. When the user agent makes subsequent requests to the server, the user agent uses the metadata and other information to determine whether to return the name/value pairs in the Cookie header.

Sourcemodule Header : sig ... end

RFC 5988 ("Web Linking") and RFC 5987 ("Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters")

Sourcemodule Proxy : sig ... end
Sourcemodule Request : sig ... end

HTTP/1.1 request handling

Sourcemodule Response : sig ... end

HTTP/1.1 response handling

Sourcemodule S : sig ... end

Module type signatures for Cohttp components

Sourcemodule Path : sig ... end
Sourcemodule Transfer : sig ... end

Read and write the HTTP/1.1 transfer-encoding formats. Currently supported are chunked and content-length.

Sourcemodule Generic : sig ... end
Sourcemodule Private : sig ... end