package piaf

  1. Overview
  2. Docs
An HTTP library with HTTP/2 support written entirely in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

piaf-0.1.0.tbz
sha256=00c3bea6d1a8c77dc18bbbbf1f449a78253cf17391ad153751b2e87f71307265
sha512=0f35e88b78ec1f1cd06a972ee69e29a8983b4c07dbc0268cc9764d8df5d9c2402cc3710874f54a111095fb57a08fe582d99d1b7e070e141e260af6ced50172aa

doc/piaf.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.