Module Httpaf
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
module Version : sig ... endProtocol Version
module Method : sig ... endRequest Method
module Status : sig ... endResponse Status Codes
module Headers : sig ... endHeader Fields
Message Body
module Body : sig ... endMessage Types
module Request : sig ... endRequest
module Response : sig ... endResponse
module IOVec : sig ... endIOVec
module Reqd : sig ... end
module Config : sig ... end
Server Connection
module Server_connection : sig ... endClient Connection
module Client_connection : sig ... end