IgdbClientConfigBlock

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Base url of the IGDB server used to make requests.

Link copied to clipboard

Allows you to specify the User-agent header of requests.

Functions

Link copied to clipboard
fun headers(block: HeadersBuilder.() -> Unit)

Specifies custom headers that will be added to each HTTP request.

Link copied to clipboard
fun httpClient(block: C.() -> Unit)

Configuration of the HTTP client used to make requests.

Link copied to clipboard
fun retryPolicy(block: RetryPolicy.() -> Unit)

Allows you to configure automatic retry on HTTP 429 "Too Many Requests" error.

Link copied to clipboard
fun twitchAuth(block: TwitchAuthConfig.() -> Unit)

Enables authentication using the Twitch client credentials grant flow and allows you to customize the authentication parameters.