package ez_api
Easy API library and tools
Install
Dune Dependency
github.com
Readme
Changelog
LGPL-2.1-only WITH OCaml-LGPL-linking-exception License
Edit opam file
Versions (6)
Authors
Maintainers
Sources
v2.0.0.tar.gz
md5=ed68e0a33325ecf6a3319cafa636d62e
sha512=425c6289d568cf697e8d9977ac43e2ebcdeec8f04f5a17225824d5a37ac700961e5d1283b92aeaebaf58ccfb5b4261bcba1180ab11c267ade0de86b68fd6ca2d
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)"
>