package h2

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

h2-0.13.0.tbz
sha256=0d89b6f178175294e7a207223be81d5b83fc31b97549bec34f0432a3b2a8070f
sha512=a442cb80f40fd179211e9ab7b4b748a4d2f7ad6ece75301d74a5363c08cd05a70b94ae90ff6fc6b95e8284c57c14cc17cbe7ade5dbf19b21b56207c6f984faf4

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 introduced http/af, and therefore uses the Angstrom and Faraday libraries to implement the parsing and serialization layers of the HTTP/2 standard. It preserves the same API as httpun wherever possible.

Not unlike httpun, 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 Httpun_types.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 Httpun_types.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