package h2

  1. Overview
  2. Docs
A high-performance, memory-efficient, and scalable HTTP/2 library for for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

h2-0.6.0.tbz
sha256=6929ab97c7c53ba993f0681b638ea11179862122592efd81efd85591c7c47915
sha512=9be738856c25f1ca22e55d47cb8f14da46adfc168839bff945aaf32f71d86ad50069dc14ca3bb6b525aeae0fa01c3529b2fc91fff33dd087bdd5e9558e26143e

doc/h2/H2/index.html

Module H2Source

H2 is a high-performance, memory-efficient, and scalable HTTP/2 implementation for OCaml. It is based on the concepts in http/af, and therefore uses the Angstrom and Faraday libraries to implement the parsing and serialization layers of the HTTP/2 standard. It also preserves the same API as http/af wherever possible.

Not unlike http/af, the user should be familiar with HTTP, and the basic principles of memory management and vectorized IO in order to use this library.

Basic HTTP Types

Sourcemodule Method : module type of Httpaf.Method

Request Method

Sourcemodule Status : sig ... end

Response Status Codes

Sourcemodule Headers : sig ... end

Header Fields

Message Body

Sourcemodule Body : sig ... end

Message Types

Sourcemodule Request : sig ... end

Request

Sourcemodule Response : sig ... end

Response

Sourcemodule IOVec : module type of Httpaf.IOVec

IOVec

Sourcemodule Reqd : sig ... end
Sourcemodule Error_code : sig ... end
Sourcemodule Settings : sig ... end
Sourcemodule Config : sig ... end

Server Connection

Sourcemodule Server_connection : sig ... end

Client Connection

Sourcemodule Client_connection : sig ... end
OCaml

Innovation. Community. Security.