org.http4s.server.middleware.Throttle$.TokenBucket$
See theTokenBucket companion trait Attributes
- Companion:
- trait
- Source:
- Throttle.scala
- Graph
- Supertypes
- Self type
Members list
Concise view
Value members
Attributes
- capacity
the number of tokens the bucket can hold and starts with.
- refillEvery
the frequency with which to add another token if there is capacity spare.
- Returns:
A task to create the TokenBucket.
- Source:
- Throttle.scala