Constructor
# abstract new ReketClient(client)
Parameters:
Name | Type | Description |
---|---|---|
client |
Object | An HTTP client that will handle HTTP calls (e.g. axios, ky, etc...). |
Members
Methods
# abstract request()
Method that needs to be implemented by classes that extend ReketClient.
When implementing the method, the extended class has to use the defined client to send the HTTP requests.
This method will be called by Reket.request
method in order to make HTTP calls.
If extended class does not implement the method.
Error