Http.Response

Define a HTTP response.

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.

Meta