abstract class Kemal::Session::Engine

Direct Known Subclasses

Defined in:

kemal-session/engine.cr

Instance Method Summary

Instance Method Detail

abstract def all_sessions : Array(Session) #

[View source]
abstract def bigint(session_id : String, k : String, v : Int64) #

[View source]
abstract def bigint(session_id : String, k : String) : Int64 #

[View source]
abstract def bigint?(session_id : String, k : String) : Int64 | Nil #

[View source]
abstract def bigints(session_id : String) : Hash(String, Int64) #

[View source]
abstract def bool(session_id : String, k : String, v : Bool) #

[View source]
abstract def bool(session_id : String, k : String) : Bool #

[View source]
abstract def bool?(session_id : String, k : String) : Bool | Nil #

[View source]
abstract def bools(session_id : String) : Hash(String, Bool) #

[View source]
abstract def create_session(session_id : String) #

[View source]
abstract def destroy_all_sessions #

[View source]
abstract def destroy_session(session_id : String) #

[View source]
abstract def each_session(&block : Session -> _) #

[View source]
abstract def float(session_id : String, k : String, v : Float64) #

[View source]
abstract def float(session_id : String, k : String) : Float64 #

[View source]
abstract def float?(session_id : String, k : String) : Float64 | Nil #

[View source]
abstract def floats(session_id : String) : Hash(String, Float64) #

[View source]
abstract def get_session(session_id : String) : Session | Nil #

[View source]
abstract def int(session_id : String, k : String, v : Int32) #

[View source]
abstract def int(session_id : String, k : String) : Int32 #

[View source]
abstract def int?(session_id : String, k : String) : Int32 | Nil #

[View source]
abstract def ints(session_id : String) : Hash(String, Int32) #

[View source]
abstract def object(session_id : String, k : String, v : Kemal::Session::StorableObject::StorableObjectContainer) #

[View source]
abstract def object(session_id : String, k : String) : Kemal::Session::StorableObject::StorableObjectContainer #

[View source]
abstract def object?(session_id : String, k : String) : Kemal::Session::StorableObject::StorableObjectContainer | Nil #

[View source]
abstract def objects(session_id : String) : Hash(String, Kemal::Session::StorableObject::StorableObjectContainer) #

[View source]
abstract def run_gc #

[View source]
abstract def string(session_id : String, k : String, v : String) #

[View source]
abstract def string(session_id : String, k : String) : String #

[View source]
abstract def string?(session_id : String, k : String) : String | Nil #

[View source]
abstract def strings(session_id : String) : Hash(String, String) #

[View source]