class UI::Session::InProcess

Overview

In-process session backed by a plain Hash. Lifetime: the process. Native apps that want persistence layer their own backing (e.g. NSUserDefaults on macOS / iOS) over this contract.

Defined in:

asset_pipeline/native_context.cr

Instance Method Summary

Instance methods inherited from class UI::Session

[](key : String) : String | Nil [], []=(key : String, value : String) : Nil []=, []?(key : String) : String | Nil []?, to_h : Hash(String, String) to_h

Instance Method Detail

def [](key : String) : String | Nil #

[View source]
def []=(key : String, value : String) : Nil #

[View source]
def []?(key : String) : String | Nil #

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

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

[View source]