package dream

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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

IOVec

Sourcemodule Reqd : sig ... end
Sourcemodule Config : sig ... end

Server Connection

Sourcemodule Server_connection : sig ... end

Client Connection

Sourcemodule Client_connection : sig ... end
OCaml

Innovation. Community. Security.