BaseHttpServerConnection

Undocumented in source.

Constructors

this
this(IConnection c)
Undocumented in source.

Members

Functions

acceptMore
bool acceptMore()

Accept more requests on the same connection?

closeResponse
void closeResponse()
Undocumented in source. Be warned that the author may not have intended to support it.
debugLog
void debugLog(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
formatLocalAddress
string formatLocalAddress(HttpRequest r)
Undocumented in source.
logRequest
void logRequest(HttpRequest request, HttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
onContinuation
void onContinuation(Data data)
Undocumented in source. Be warned that the author may not have intended to support it.
onDisconnect
void onDisconnect(string reason, DisconnectType type)
Undocumented in source. Be warned that the author may not have intended to support it.
onNewRequest
void onNewRequest(Data data)
Undocumented in source. Be warned that the author may not have intended to support it.
processRequest
void processRequest(Data[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
sendData
void sendData(Data[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
sendHeaders
void sendHeaders(Headers headers, HttpStatusCode status, string statusMessage)
Undocumented in source. Be warned that the author may not have intended to support it.
sendHeaders
void sendHeaders(HttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
sendResponse
void sendResponse(HttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

idle
bool idle [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
remoteAddressStr
HttpRequest remoteAddressStr [@property setter]
Undocumented in source.

Variables

banner
string banner;
Undocumented in source.
conn
IConnection conn;
Undocumented in source.
connected
bool connected;
Undocumented in source.
currentRequest
HttpRequest currentRequest;
Undocumented in source.
expect
sizediff_t expect;
Undocumented in source.
handleRequest
void delegate(HttpRequest request) handleRequest;
Undocumented in source.
inBuffer
Data[] inBuffer;
Undocumented in source.
log
Logger log;
Undocumented in source.
persistent
bool persistent;
Undocumented in source.
requestProcessing
bool requestProcessing;
Undocumented in source.
responseSize
size_t responseSize;
Undocumented in source.
timeout
Duration timeout;
Undocumented in source.
timeoutActive
bool timeoutActive;
Undocumented in source.
timer
TimeoutAdapter timer;
Undocumented in source.

Meta