HttpResponse

HTTP reply class

Members

Functions

compressWithDeflate
void compressWithDeflate()
Undocumented in source. Be warned that the author may not have intended to support it.
compressWithGzip
void compressWithGzip()
Undocumented in source. Be warned that the author may not have intended to support it.
getContent
Data getContent()

If the data is compressed, return the decompressed data

optimizeData
void optimizeData(Headers requestHeaders)

Called by the server to compress content, if possible/appropriate

parseStatusLine
void parseStatusLine(string statusLine)
Undocumented in source. Be warned that the author may not have intended to support it.
setStatus
void setStatus(HttpStatusCode code)

Set the response status code and message

sliceData
void sliceData(Headers requestHeaders)

Called by the server to apply range request.

Static functions

getStatusMessage
string getStatusMessage(HttpStatusCode code)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

compressionLevel
int compressionLevel;
Undocumented in source.
status
HttpStatusCode status;
Undocumented in source.
statusMessage
string statusMessage;
Undocumented in source.

Inherited Members

From HttpMessage

protocol
string protocol;
Undocumented in source.
protocolVersion
string protocolVersion;
Undocumented in source.
headers
Headers headers;
Undocumented in source.
data
Data[] data;
Undocumented in source.
creationTime
SysTime creationTime;
Undocumented in source.
age
Duration age [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta