type

WispSessionStore

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

abstract Void delete(Str id)

Delete any resources used by the given session id

load

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

virtual Void onStart()

Callback when WispService is started

onStop

virtual Void onStop()

Callback when WispService is stopped

save

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

Save the given session map by session id.

service

abstract WispService service()

Parent web service