We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ee8a3a commit 61e96b0Copy full SHA for 61e96b0
src/middleware/index.ts
@@ -26,6 +26,7 @@ export function expressRateLimiter(
26
redisClientOptions: RedisClientOptions,
27
typeWeightConfig: TypeWeightConfig = defaultTypeWeightsConfig
28
): RequestHandler {
29
+ // TODO: Set 'timestamp' on res.locals to record when the request is received in UNIX format. HTTP does not inlude this.
30
// TODO: Parse the schema to create a TypeWeightObject. Throw ValidationError if schema is invalid
31
// TODO: Connect to Redis store using provided options. Default to localhost:6379
32
// TODO: Configure the selected RateLimtier
0 commit comments