- _code
ushort _code;
- _responseBody
Buffer!ubyte _responseBody;
- _responseHeaders
string[string] _responseHeaders;
- _uri
URI _uri;
- _finalURI
URI _finalURI;
Final URI. Can differ from uri() if request go through redirections.
- _receiveAsRange
ReceiveAsRange _receiveAsRange;
- _startedAt
SysTime _startedAt;
- _connectedAt
SysTime _connectedAt;
- _requestSentAt
SysTime _requestSentAt;
- _finishedAt
SysTime _finishedAt;
Undocumented in source.
- _contentReceived
long _contentReceived;
Length of received content
- _contentLength
long _contentLength;
Server-supplied content length (can be -1 when unknown)
- getStats
auto getStats [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- responseBody
auto ref responseBody [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- responseHeaders
auto ref responseHeaders [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- receiveAsRange
auto ref receiveAsRange [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- toString
string toString()
string representation of response
- format
string format(string fmt)
Response - result of request execution.
Response.code - response HTTP code. Response.status_line - received HTTP status line. Response.responseHeaders - received headers. Response.responseBody - container for received body Response.history - for redirected responses contain all history