ssl_session_cache

DATA TYPES

key() = {{host(), port_number() (see module inet)}, session_id()} | {port_number() (see module inet), session_id()}

Functions


init(X1::list()) -> db_handle()

terminate(Cache::db_handle()) -> any()

lookup(Cache::db_handle(), Key::key()) -> #session{} | undefined

update(Cache::db_handle(), Key::key(), Session::#session{}) -> any()

delete(Cache::db_handle(), Key::key()) -> any()

foldl(Fun::function(), Acc0::term(), Cache::db_handle()) -> term()

select_session(Cache::db_handle(), PartialKey::{host(), port_number() (see module inet)} | port_number() (see module inet)) -> [#session{}]

View Functions