$cache
$cache : \CodeIgniter\Cache\CacheInterface
Container for throttle counters.
Class Throttler
Uses an implementation of the Token Bucket algorithm to implement a "rolling window" type of throttling that can be used for rate limiting an API or any other request.
Each "token" in the "bucket" is equivalent to a single request for the purposes of this implementation.
$cache : \CodeIgniter\Cache\CacheInterface
Container for throttle counters.
Loading…