class MITM::Cache

Defined in:

cherry/mitm/cache.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(capacity : Int32 = 1024) #

[View source]

Instance Method Detail

def capacity : Int32 #

[View source]
def capacity=(capacity : Int32) #

[View source]
def clear #

[View source]
def full? #

[View source]
def get(name : String) #

[View source]
def mutex : Mutex #

[View source]
def mutex=(mutex : Mutex) #

[View source]
def set(name : String, value : Tuple(String, String)) #

[View source]
def storage : Hash(String, Tuple(String, String)) #

[View source]
def storage=(storage : Hash(String, Tuple(String, String))) #

[View source]