package naboris

  1. Overview
  2. Docs

Module for working with sessions and session data.

type 'sessionData t
val create : string -> 'sessionData -> 'sessionData t

Creates new t('sessionData) with id of string.

val data : 'sessionData t -> 'sessionData

Return session data of given t('sessionData).

val id : 'sessionData t -> string

Return session id of given t('sessionData).

OCaml

Innovation. Community. Security.