Response

Contains the response from a Slack REST API call encoded as JSON.

Constructors

this
this(char[] response)

Response may only be constructed in this package.

this
this()
Undocumented in source.

Members

Functions

opAssign
auto ref opAssign(Response rhs)

Assign another Response to this one.

opCast
auto opCast()

Returns true if the last API call succeeded, false otherwise.

opIndex
auto opIndex(string key)

Returns the value for the given key from the JSON response.

toString
auto toString()

Returns the JSON response as a string.

See Also

std.json

Meta