Class HTTPResponse
Represents the HTTP response from the server back to the client.
class HTTPResponse
;
Fields
Name | Type | Description |
---|---|---|
headers
|
DictionaryList!(string,false,12L,false) | The response header fields |
httpVersion
|
HTTPVersion | The protocol version of the response - should not be changed |
statusCode
|
int | The status code of the response, 200 by default |
statusPhrase
|
string | The status phrase of the response |
m_cookies
|
DictionaryList!(vibe.http.common.Cookie,true,32L,false) |
Properties
Name | Type | Description |
---|---|---|
contentType [get, set]
|
string | Shortcut to the "Content-Type" header |
cookies [get]
|
DictionaryList!(vibe.http.common.Cookie,true,32L,false) | All cookies that shall be set on the client for this request |
Methods
Name | Description |
---|---|
toString
()
|