QueryResponse

Embodies a response from a query to the Twitch servers. A string paired with a millisecond count of how long the query took, and some metadata about the request.

version(TwitchSupport && WithTwitchPlugin)
package
struct QueryResponse {}

Members

Variables

code
uint code;

The HTTP response code received.

error
string error;

The message of any exception thrown while querying.

exceptionText
string exceptionText;

The message text of any exception thrown while querying.

host
string host;

The host that was queried.

msecs
long msecs;

How long the query took, from issue to response.

str
string str;

Response body, may be several lines.

url
string url;

The URL that was queried.