APIResponse

Wrapper for HTTP REST Responses.

Constructors

this
this(HTTPClientResponse res)

Undocumented in source.

Members

Functions

contentType
string contentType()

Undocumented in source. Be warned that the author may not have intended to support it.

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.

statusCode
int statusCode()

Undocumented in source. Be warned that the author may not have intended to support it.

vibeJSON
VibeJSON vibeJSON()

Undocumented in source. Be warned that the author may not have intended to support it.

Variables

content
string content;

Undocumented in source.

Meta