ae.net.http.server

A simple HTTP server.

Public Imports

ae.net.http.common
public import ae.net.http.common;
Undocumented in source.

Members

Classes

BaseHttpServerConnection
class BaseHttpServerConnection

The base class for an incoming connection to a HTTP server, unassuming of transport.

FileHttpServerConnection
class FileHttpServerConnection

BaseHttpServerConnection implementation with files, allowing to e.g. read a request from standard input and write the response to standard output.

HttpServer
class HttpServer

Basic unencrypted HTTP 1.0/1.1 server.

HttpServerConnection
class HttpServerConnection

Standard socket-based HTTP server connection.

HttpsServer
class HttpsServer

HTTPS server. Set SSL parameters on ctx after instantiation.

Functions

formatAddress
string formatAddress(string protocol, Address address, string vhost, ushort logPort)

Formats a remote address for logging.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Stéphan Kochen <stephan@kochen.nl> Vladimir Panteleev <ae@cy.md> Simon Arlott