Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
KemalWAF::RateLimitResult
Inherits
Struct
/
Value
/
Object
Rate limit result
Constructors
new
(allowed :
Bool
, limit :
Int32
, remaining :
Int32
, reset_at :
Time
, blocked_until :
Time
|
Nil
= nil)
Source
Instance methods
allowed
Source
allowed=
(allowed :
Bool
)
Source
blocked_until
Source
blocked_until=
(blocked_until :
Time
|
Nil
)
Source
limit
Source
limit=
(limit :
Int32
)
Source
remaining
Source
remaining=
(remaining :
Int32
)
Source
reset_at
Source
reset_at=
(reset_at :
Time
)
Source