UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks

11 lines (10 loc) 450 B
import { ReportingAPI, ReportingAPIResponse } from "./ReportingAPI"; import { Event } from "./Event"; import { Token } from "./Token"; export declare class ReportingAPIRateLimitedServerSide implements ReportingAPI { private readonly api; private readonly stopSendingForInMilliseconds; private rateLimitedAt; constructor(api: ReportingAPI); report(token: Token, event: Event, timeoutInMS: number): Promise<ReportingAPIResponse>; }