UNPKG

cds-rate-limit

Version:

enabled rate limit pattern for CAP NodeJS Runtime

11 lines (10 loc) 543 B
export declare const ANNOTATE_CDS_RATE_LIMIT = "@cds.rate.limit"; export declare const FLAG_RATE_LIMIT_PERFORMED = "__rate_limit_performed"; export declare const GLOBAL_RATE_LIMITER_PREFIX = "global-rate-limiter"; export declare const GLOBAL_ANONYMOUS_RATE_LIMITER_PREFIX: string; export declare const RATE_LIMIT_HEADERS: { readonly "Retry-After": "Retry-After"; readonly "X-RateLimit-Limit": "X-RateLimit-Limit"; readonly "X-RateLimit-Remaining": "X-RateLimit-Remaining"; readonly "X-RateLimit-Reset": "X-RateLimit-Reset"; };