FastCGIResponderConnection

FastCGI server for handling Responder requests.

Constructors

this
this(IConnection connection)

Members

Classes

ResponderRequest
class ResponderRequest
Undocumented in source.

Functions

createRequest
Request createRequest()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

handleRequest
void delegate(ref CGIRequest, void delegate(HttpResponse)) handleRequest;

User-supplied callback for handling incoming requests.

nph
bool nph;

Whether to operate in Non-Parsed Headers mode.

Inherited Members

From FastCGIProtoConnection

maxConns
size_t maxConns;

Maximum number of concurrent connections to advertise.

maxReqs
size_t maxReqs;

Maximum number of concurrent requests to advertise.

mpxsConns
bool mpxsConns;

Whether to advertise support for multiplexing.

Request
class Request

Base class for an abstract ongoing FastCGI request.

requests
Request[] requests;

In-flight requests.

createRequest
Request createRequest()

Override this method to provide a factory for your Request implementation.

getRequest
Request getRequest(ushort requestId)

Return the request with the given ID.

newRequest
Request newRequest(ushort requestId)

Create and return a request with the given ID.

killRequest
void killRequest(ushort requestId)

Clear the given request ID.

sendRecord
void sendRecord(FCGI_RecordHeader header, Data contentData)
void sendRecord(FCGI_RecordType type, ushort requestId, Data contentData)

Write a raw FastCGI packet.

onRecord
void onRecord(FCGI_RecordHeader header, Data contentData)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta