Optional
agentnull
The base URL to use for requests - must be a fully qualified url.
https://discordapp.com/api/v{REST_VERSION}
If the built-in latency compensator should be disabled.
false
If redirects should be followed.
false
The Host
header to use for requests.
Parsed from baseURL
In milliseconds, the average request latency at which to start emitting latency errors.
30000
In milliseconds, the maximum ratelimit delay (in milliseconds) the lib will internally wait for to retry the request. If a ratelimit resets after this window, an error will be thrown instead.
This currently defaults to Infinity for backwards compatibility, but this will be changed in 1.12.0.
Infinity
In milliseconds, the time to offset ratelimit calculations by.
0
In milliseconds, how long to wait until a request is timed out.
15000
A value for the X-Super-Properties
header, sent with all requests if present. This can be used to reveal some properties only visible to >= client builds. Provide either an object, or a base64 encoded string.
eyJjbGllbnRfYnVpbGRfbnVtYmVyIjoxNjI5OTJ9
{ client_build_number: 162992 }
null
The User-Agent
header to use for requests.
Oceanic/{VERSION} (https://github.com/OceanicJS/Oceanic)
The agent to use for requests.