Module mod_server_storage

Server side sessions and data storage.

Copyright © 2020 Marc Worrell

Behaviours: supervisor.

Authors: Marc Worrell (marc@worrell.nl).

Description

Server side sessions and data storage.

Function Index

init/1
observe_request_context/3Periodic ping for the session, done by the client.
observe_server_storage/2Decoupling of server storage from other modules.
start_link/1
start_session/2Start the session with the given Id.

Function Details

init/1

init(X1) -> any()

observe_request_context/3

observe_request_context(Request_context::#request_context{}, Context::z:context(), X3::z:context()) -> z:context()

Periodic ping for the session, done by the client.

observe_server_storage/2

observe_server_storage(X1, Context) -> any()

Decoupling of server storage from other modules.

start_link/1

start_link(Args) -> any()

start_session/2

start_session(SessionId::binary(), Context::z:context()) -> {ok, pid()} | {error, term()}

Start the session with the given Id


Generated by EDoc