package cohttp

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

Install

Dune Dependency

Authors

Maintainers

Sources

cohttp-6.0.0.alpha1.tbz
sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646
sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a

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
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 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 Private : sig ... end
OCaml

Innovation. Community. Security.