Options
Less than 1 minute
Options
class Options extends \Hazaar\Model\StructExtends: Hazaar\Model\Struct
Properties
window
The length of the rate limiting window in seconds.
public int $window = 60Type: int
limit
The maximum number of requests allowed per window.
public int $limit = 60Type: int
minimum
The minimum period (in seconds) between requests.
public int $minimumType: int
backend
The backend implementation to use for rate limiting ("cache", "file" or "dbi").
public string $backend = 'cache'Type: string
backendOptions
Options passed through to the selected backend implementation.
public array $backendOptionsType: array
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000