HttpServerConnection

Undocumented in source.

Constructors

this
this(HttpServer server, TcpConnection tcp, IConnection c, string protocol)
Undocumented in source.

Members

Functions

acceptMore
bool acceptMore()
Undocumented in source. Be warned that the author may not have intended to support it.
formatLocalAddress
string formatLocalAddress(HttpRequest r)
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.

Mixins

__anonymous
mixin DListLink
Undocumented in source.

Properties

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

Variables

localAddress
Address localAddress;
Undocumented in source.
protocol
string protocol;
remoteAddress
Address remoteAddress;
Undocumented in source.
server
HttpServer server;
Undocumented in source.
tcp
TcpConnection tcp;
Undocumented in source.

Mixed In Members

__anonymous
mixin ListLink!true
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.
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.
remoteAddressStr
HttpRequest remoteAddressStr [@property setter]
Undocumented in source.

Meta