package httpaf

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.2.0.tar.gz
sha256=9156a22b758b17f5fad3147d852d69568628324c55f09089bd7fff47d6306001
md5=b878ea9b23b3c863ed2a532148bb430e

doc/httpaf/Httpaf/index.html

Module HttpafSource

Http/af 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, http/af 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 : sig ... end

Protocol Version

Sourcemodule Method : sig ... end

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

Bigstring

Sourcemodule IOVec : sig ... end

IOVec

Sourcemodule Reqd : sig ... end

Request Descriptor

Server Connection

Sourcemodule Server_connection : sig ... end

Client Connection

Sourcemodule Client_connection : sig ... end