package naboris
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Simple http server
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.1.3.tar.gz
md5=f7d1c959627f93fdcf9fd0c346edb9c9
sha512=344a03d18170368a3fedcc595f6cc103fe47449a77a9923ab58a7d20d8d291edfda624d27bbfd8dc05d9af33a797064efcbeb52a4f9ea57fa862ebd39b97cfa1
doc/naboris/Naboris/SessionManager/index.html
Module Naboris.SessionManager
Less commonly used.
val startSession :
'sessionData Req.t ->
Res.t ->
'sessionData ->
'sessionData Req.t * Res.t * stringCreate a new session with 'sessionData and add cookie headers to Res.t. Returns newly created session id string.
Sets headers on `Res.t` to expire the session.
val resumeSession :
'sessionData ServerConfig.t ->
'sessionData Req.t ->
'sessionData Req.t Lwt.tIntended for internal use.
Applies mapSession from config to request which uses the session id from the request cookies. Returns promise of a new request with session data available if it was found.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>