Library referenceTypes
RequestOptions
type RequestOptions = {
headers?: Record<string, string>;
query?: Record<string, QueryValue>;
route: string;
};what a resource passes to KrunkerClient.get for one request
Properties
| Property | Type | Description |
|---|---|---|
headers? | Record<string, string> | per call headers (the token tier's Authorization), never logged |
query? | Record<string, QueryValue> | - |
route | string | stable name of the endpoint, the key for its own rate limit window |