FileHttpServerConnection

Undocumented in source.

Constructors

this
this(File input, File output, string protocol)
Undocumented in source.

Members

Functions

formatLocalAddress
string formatLocalAddress(HttpRequest r)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

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

Variables

protocol
string protocol;
Undocumented in source.

Inherited Members

From BaseHttpServerConnection

timer
TimeoutAdapter timer;
Undocumented in source.
conn
IConnection conn;
Undocumented in source.
currentRequest
HttpRequest currentRequest;
Undocumented in source.
persistent
bool persistent;
Undocumented in source.
connected
bool connected;
Undocumented in source.
log
Logger log;
Undocumented in source.
handleRequest
void delegate(HttpRequest request) handleRequest;
Undocumented in source.
inBuffer
Data[] inBuffer;
Undocumented in source.
expect
sizediff_t expect;
Undocumented in source.
responseSize
size_t responseSize;
Undocumented in source.
requestProcessing
bool requestProcessing;
Undocumented in source.
timeout
Duration timeout;
Undocumented in source.
timeoutActive
bool timeoutActive;
Undocumented in source.
banner
string banner;
Undocumented in source.
debugLog
void debugLog(Args args)
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.
onDisconnect
void onDisconnect(string reason, DisconnectType type)
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.
processRequest
void processRequest(Data[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
logRequest
void logRequest(HttpRequest request, HttpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
formatLocalAddress
string formatLocalAddress(HttpRequest r)
Undocumented in source.
remoteAddressStr
string remoteAddressStr [@property getter]
Undocumented in source.
idle
bool idle [@property getter]
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.
sendData
void sendData(Data[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Meta