UNPKG

@nestjs/throttler

Version:

A Rate-Limiting module for NestJS to work on Express, Fastify, Websockets, Socket.IO, and GraphQL, all rolled up into a simple package.

6 lines (5 loc) 230 B
import { HttpException } from '@nestjs/common'; export declare const throttlerMessage = "ThrottlerException: Too Many Requests"; export declare class ThrottlerException extends HttpException { constructor(message?: string); }