package h1

  1. Overview
  2. Docs
A high-performance, memory-efficient, and scalable web server for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

h1-1.1.0.tbz
sha256=2d3067ed380163920149fbe9149d5bda630b4f45e3c10be793beea06a07c6d3c
sha512=d720e6fbc31f02045fe5a6fad34ec284ef3ae636a52c31f9eb6e4cc74e8fba9a3a91df0b738c8d0bb06e57119d0534d872f3f7ef873f441b4802cc96a98b9528

doc/h1/H1/index.html

Module H1Source

H1 is a high-performance, memory-efficient, and scalable web server for OCaml. It implements the HTTP 1.1 specification with respect to parsing, serialization, and connection pipelining. For compatibility, H1 respects the imperatives of the Server_connection header when handling HTTP 1.0 connections.

To use this library effectively, the user must be familiar with the HTTP 1.1 specification, and the basic principles of memory management and vectorized IO.

Basic HTTP Types

Sourcemodule Version : module type of Httpun_types.Version

Protocol Version

Sourcemodule Method : module type of Httpun_types.Method

Request Method

Sourcemodule Status : module type of Httpun_types.Status

Response Status Codes

Sourcemodule Headers : module type of Httpun_types.Headers

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

Server Connection

Sourcemodule Server_connection : sig ... end

Client Connection

Sourcemodule Client_connection : sig ... end
Sourcemodule H1_private : sig ... end