class Squirm::RequestStorage

Defined in:

squirm/request_storage.cr

Constant Summary

INSTANCE = new
Log = ::Log.for(self)

Class Method Summary

Instance Method Summary

Class Method Detail

def self.instance #

[View source]

Instance Method Detail

def clear(id : String) #

[View source]
def delete_history(id : String, url : String) #

[View source]
def empty?(id : String) : Bool #

[View source]
def exists?(id : String) : Bool #

[View source]
def flush(id : String) #

[View source]
def history : Synchronized(Hash(String, Array(String))) #

[View source]
def pop!(id : String) #

[View source]
def requests : Synchronized(Hash(String, Array(Request))) #

[View source]
def seen?(id : String, url : String) : Bool #

[View source]
def store(id : String, request : Request) #

[View source]
def store(id : String, requests : Array(Request)) #

[View source]
def store(id : String, url : String) #

[View source]
def store(id : String, urls : Array(String)) #

[View source]