RequestManager
Index
Constructors
publicconstructor
Parameters
client: Client
Returns RequestManager
Properties
publicbaseApiUrl
The base url of the hypixel API
publicclient
The hypixel.ts client instance
Methods
publicexecute
Makes the api request and pushes it to the request queue
Type parameters
- T
Parameters
path: string
The path/endpoint to make the request to
sendAPIKey: boolean
Whether or not to send the apiKey with this request
Returns Promise<T>
Manages the requests to the API