Skip to content

reiugit/RateLimiterExampleApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Example of a RateLimiter for a WebAPI

  • This Example uses a FixedWindow-RateLimiter.
  • The example limit is set to 2 requests per 10 seconds.

When the rate limit is exceeded, the following response is returned:

type:  "https://tools.ietf.org/html/rfc6585#section-4"
title:  "Rate Limit Exceeded"
status:  429
detail:  "Rate limit of 2 requests per 10 seconds exceeded."

About

Simple Example of a RateLimiter for a WebAPI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages