Enable rate limiting on the application.
The declarative half of the module's activation; rateLimitBlueprint is the imperative half, and neither can do what the other cannot. Nothing is limited until a route says so: this only puts the enforcement in place.
rateLimitBlueprint
What to configure, if anything.
A class decorator.
@RateLimit({ trustedAddressHeaders: ['cloudfront-viewer-address'] })@Routing()@StoneApp()export class Application {} Copy
@RateLimit({ trustedAddressHeaders: ['cloudfront-viewer-address'] })@Routing()@StoneApp()export class Application {}
Enable rate limiting on the application.
The declarative half of the module's activation;
rateLimitBlueprintis the imperative half, and neither can do what the other cannot. Nothing is limited until a route says so: this only puts the enforcement in place.