HTTPResponse

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

Destructor

~this
~this()
Undocumented in source.

Members

Properties

getStats
auto getStats [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
history
HTTPResponse[] history [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
responseHeaders
string[string] responseHeaders [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Response

_code
ushort _code;
Undocumented in source.
_responseBody
Buffer!ubyte _responseBody;
Undocumented in source.
_responseHeaders
string[string] _responseHeaders;
Undocumented in source.
_uri
URI _uri;

Initial URI

_finalURI
URI _finalURI;

Final URI. Can differ from __URI if request go through redirections.

_receiveAsRange
ReceiveAsRange _receiveAsRange;
Undocumented in source.
_startedAt
SysTime _startedAt;
_connectedAt
SysTime _connectedAt;
_requestSentAt
SysTime _requestSentAt;
_finishedAt
SysTime _finishedAt;
Undocumented in source.
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()
Undocumented in source. Be warned that the author may not have intended to support it.
format
string format(string fmt)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta