package h1

  1. Overview
  2. Docs

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 : module type of Httpun_types.Version

Protocol Version

module Method : module type of Httpun_types.Method

Request Method

module Status : module type of Httpun_types.Status

Response Status Codes

module Headers : module type of Httpun_types.Headers

Header Fields

Message Body

module Body : sig ... end

Message Types

module Request : sig ... end

Request

module Response : sig ... end

Response

module IOVec : module type of Httpun_types.IOVec

IOVec

module Reqd : sig ... end
module Config : sig ... end

Server Connection

module Server_connection : sig ... end

Client Connection

module Client_connection : sig ... end
OCaml

Innovation. Community. Security.