Internal
Optional
cookie: stringSend the HTTP request.
The URL to send the request to.
The HTTP method to use. Defaults to 'GET'.
The TTL value for the cached data in seconds.
A Promise that resolves with the response data, or rejects with a NodeHoyoError if an error occurs.
Set Body Parameter
This instance of Request object.
Sets search parameters or query parameter.
An object of query parameter to be set.
Returns this Request object.
Set Referer Headers
The URL string of referer
The updated Request instance.
Class for handling HTTP requests with customizable headers, body, and parameters.