Skip to main content

apiTooManyRequestsResponse

apiTooManyRequestsResponse<TBody>(resData, options?): Response

Sends a response with HTTP status code 429 (Too Many Requests).

Type Parameters

TBody

TBody

Parameters

resData

TBody

The response body to be sent to the client.

options?

ResponseInit

Response initialization settings, such as headers.

Returns

Response