org.http4s.server.middleware.Throttle$.TokenBucket
See theTokenBucket companion object
A token bucket for use with the Throttle middleware. Consumers can take tokens which will be refilled over time. Implementations are required to provide their own refill mechanism.
Possible implementations include a remote TokenBucket service to coordinate between different application instances.
Attributes
- Companion:
- object
- Source:
- Throttle.scala
- Graph
- Supertypes