ae.net.http.fastcgi.app

Support for implementing FastCGI application servers.

Members

Classes

FastCGIAppSocketServer
class FastCGIAppSocketServer

Base implementation of the low-level FastCGI protocol.

FastCGIConnection
class FastCGIConnection

Base implementation of the low-level FastCGI protocol.

FastCGIProtoConnection
class FastCGIProtoConnection

Higher-level FastCGI app server implementation, handling the various FastCGI response types.

FastCGIResponderConnection
class FastCGIResponderConnection
FastCGIResponderServer
class FastCGIResponderServer

FastCGI server for handling Responder requests.

Functions

inFastCGI
bool inFastCGI()

Return true if the current process was likely invoked as a FastCGI application.

putNameValue
void putNameValue(W writer, char[] name, char[] value)

Write a FastCGI-encoded name-value pair.

putVLInt
void putVLInt(W writer, size_t value)

Write a FastCGI-encoded variable-length integer.

readNameValue
bool readNameValue(Data data, char[] name, char[] value)

Parse a FastCGI-encoded name-value pair.

readVLInt
bool readVLInt(Data data, uint value)

Parse a FastCGI-encoded variable-length integer.

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

Vladimir Panteleev <ae@cy.md>