interface APIRequest {
    data: HandlerRequestData;
    method: string;
    options: RequestInit;
    path: `/${string}`;
    retries: number;
    route: string;
}

Properties

The data that was used to form the body of this request

method: string

The HTTP method used in this request

options: RequestInit

Additional HTTP options for this request

path: `/${string}`

The full path used to make the request

retries: number

The number of times this request has been attempted

route: string

The API route identifying the ratelimit for this request