class Limiter::Concurrency::Memory

Defined in:

limiter/concurrency_memory.cr

Constructors

Instance Method Summary

Instance methods inherited from class Limiter

add_limit(seconds : Time::Span, count) add_limit, clear clear, request!(force = false, &) request!, request?(force = false, &) request?

Constructor methods inherited from class Limiter

new new

Constructor Detail

def self.new(max_count : Int32) #

[View source]

Instance Method Detail

def clear #

[View source]
def increment_request #

[View source]
def limited? : Tuple(Bool, Time::Span | Nil) #

[View source]
def stats #

[View source]