Skip to main content

Class: HttpRateLimitResolver

Resolves HTTP rate limits using the client IP and endpoint as the bucket key.

Implements​

Constructors​

Constructor​

new HttpRateLimitResolver(): HttpRateLimitResolver

Returns​

HttpRateLimitResolver

Methods​

resolve()​

resolve(definition, context): RateLimitDecision

Parameters​

definition​

RateLimitDefinition

context​

ExecutionContext

Returns​

RateLimitDecision

Implementation of​

RateLimitResolver.resolve