Optional
options: Partial<RESTOptions>Protected
Readonly
[brandThis field doesn't actually exist, it's just a way to make TS properly infer the events from classes that extend AsyncEventEmitter
The Agent for all requests performed by this manager.
Readonly
cdnThe promise used to wait out the global rate limit
The number of requests remaining in the global bucket
The timestamp at which the global bucket resets
Readonly
handlersRequest handlers created from the bucket hash and the major parameters
Readonly
hashesAPI bucket hashes that are cached from provided routes
Readonly
optionsStops the request handler sweeping interval
Stops the hash sweeping interval
Runs a delete request from the api
The full route to query
Optional
options: RequestDataOptional request options
Runs a get request from the api
The full route to query
Optional
options: RequestDataOptional request options
Runs a patch request from the api
The full route to query
Optional
options: RequestDataOptional request options
Runs a post request from the api
The full route to query
Optional
options: RequestDataOptional request options
Runs a put request from the api
The full route to query
Optional
options: RequestDataOptional request options
Queues a request to be sent
All the information needed to make a request
The response from the api request
Optional
event: string | symbolRuns a request from the api
Request options
Sets the default agent to use for requests performed by this manager
The agent to use
Sets the authorization token that should be used for requests
The authorization token to use
Static
listenerStatic
onOptional
options: AbortableMethodsOptional
options: AbortableMethodsStatic
onceOptional
options: AbortableMethodsOptional
options: AbortableMethods
Represents the class that manages handlers for endpoints