krapio
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

PropertyTypeDescription
headers?Record<string, string>per call headers (the token tier's Authorization), never logged
query?Record<string, QueryValue>-
routestringstable name of the endpoint, the key for its own rate limit window

On this page