type

WispSessionStore

src const mixin WispSessionStore

Pluggable hooks for Wisp session storage.

methods

delete

Delete any resources used by the given session id

load

Load the session map for the given id, or if it doesn't exist then create a new one.

onStart

Callback when WispService is started

onStop

Callback when WispService is stopped

save

Save the given session map by session id.

service

Parent web service

Slot Details

delete

src abstract Void delete(Str id)

Delete any resources used by the given session id

load

src abstract Str:Obj? load(Str id)

Load the session map for the given id, or if it doesn't exist then create a new one.

onStart

src virtual Void onStart()

Callback when WispService is started

onStop

src virtual Void onStop()

Callback when WispService is stopped

save

src abstract Void save(Str id, Str:Obj? map)

Save the given session map by session id.

service

src abstract WispService service()

Parent web service