Http.Response

Define a HTTP response.

Constructors

this
this(sfHttpResponse* response)
Undocumented in source.

Members

Enums

Status
enum Status

Enumerate all the valid status codes for a response.

Functions

getBody
string getBody()

Get the body of the response.

getField
string getField(const(char)[] field)

Get the value of a field.

getMajorHttpVersion
uint getMajorHttpVersion()

Get the major HTTP version number of the response.

getMinorHttpVersion
uint getMinorHttpVersion()

Get the minor HTTP version number of the response.

getStatus
Status getStatus()

Get the response status code.

Variables

sfPtrResponse
sfHttpResponse* sfPtrResponse;
Undocumented in source.

Meta