The current TwitchPlugin.
The URL to query.
Name of the calling function.
Authorisation HTTP header to pass.
What HttpVerb to use in the request.
Request body to send in case of verbs like POST and PATCH.
"Content-Type" HTTP header to pass.
Numerical ID to use instead of generating a new one.
Whether or not this is a recursive call and another one should not be attempted.
The QueryResponse that was discovered while monitoring the bucket as having been received from the server.
TwitchQueryException if there were unrecoverable errors.
immutable QueryResponse = sendHTTPRequest(plugin, "https://id.twitch.tv/oauth2/validate", __FUNCTION__, "OAuth 30letteroauthstring");
Wraps sendHTTPRequestImpl by proxying calls to it via the persistentQuerier subthread.
Once the query returns, the response body is checked to see whether or not an error occurred. If so, it throws an exception with a descriptive message.
Note: Must be called from inside a Fiber.