package ez_api
Easy API library and tools
Install
Dune Dependency
Authors
Maintainers
Sources
2.1.0.tar.gz
md5=e1d03d141ef977fbd4521256c91431f1
sha512=51b0cc4e6afb0cd5ab55c0c40964946b79e0c2cc903b5d08c594292eec723a25e25463175d704c02fe559e2af5d95973514c248a603ad28ec0230c35ad2d6492
doc/ez_api.server_session/EzSessionServer/SessionStoreInMemory/index.html
Module EzSessionServer.SessionStoreInMemory
Source
Implementation of session store in the server's memory.
User id. See EzSession.TYPES.SessionArg.user_id
.
Source
val create_session :
?foreign:EzSession.TYPES.foreign_info ->
login:string ->
req:EzAPIServerUtils.Req.t ->
user_id ->
user_id EzSession.TYPES.session Lwt.t
Creates session from the specified information, generates random token, and associates session to the given token in storage.
Source
val get_session :
?req:EzAPIServerUtils.Req.t ->
string ->
user_id EzSession.TYPES.session option Lwt.t
Looks up for the session associated with the given token. If req
is also specified, then the returned session synchronizes its time with request.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>