Module openflax.http.interface

The HTTP service for Openflax.

Description

The HTTP service for Openflax.

This module implements a middleman process which takes ownership of the TCP/IP socket and does the low-level translation of the HTTP protocol, so that the other parts of OpenFlax need not deal with moving data to and from the socket itself. It uses the function library module openflax.http.parse to do the HTTP parsing, and is intended to be used only from the modules openflax.http.request and openflax.http.response.

Function Index

start/4Creates a new HTTP service on the given port with the given maximum number of simultaneous connections.

Function Details

start/4

start(Fun::fun(), Interface::interface(), Port::port(), MaxConn::maxconn()) -> never_returns

Creates a new HTTP service on the given port with the given maximum number of simultaneous connections.