kameloso.plugins.twitch.api

Basics for accessing the Twitch API. For internal use.

Modules

actions
module kameloso.plugins.twitch.api.actions

Functions for accessing the Twitch API.

Members

Functions

handleRetryDelegateException
auto handleRetryDelegateException(Exception base, size_t i, bool endlessly, bool headless)

Handles exceptions thrown by retryDelegate.

printRetryDelegateException
void printRetryDelegateException(Exception base)

Prints out details about exceptions passed from retryDelegate. retryDelegate itself rethrows them when we return, so no need to do that here.

retryDelegate
auto retryDelegate(TwitchPlugin plugin, Dg dg, bool async, bool endlessly, Duration retryDelay)

Retries a passed delegate until it no longer throws or until the hardcoded number of retries (TwitchPlugin.delegateRetries) is reached, or forever if endlessly is passed.

Structs

ErrorResponse
struct ErrorResponse

Generic JSON Schema of an error response from the Twitch API.

See Also

Meta