APIResponse

Wrapper for HTTP REST Responses.

Constructors

this
this(HTTPClientResponse res)
Undocumented in source.

Members

Functions

header
string header(string name, string def)
Undocumented in source. Be warned that the author may not have intended to support it.
ok
APIResponse ok()

Raises an APIError exception if the request failed.

Properties

contentType
string contentType [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
fastJSON
JSON fastJSON [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
statusCode
int statusCode [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
vibeJSON
VibeJSON vibeJSON [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

content
string content;
Undocumented in source.

Meta