package eliom

  1. Overview
  2. Docs
Advanced client/server Web and mobile framework

Install

Dune Dependency

Authors

Maintainers

Sources

10.4.1.tar.gz
md5=218bcb5cd275cc05be06574c5fa357fa
sha512=edbf8b084ec1b7439d4715199c22eb925a77a2dcfbe76bb5bbc4b9d076b70be1b0de74f9eab9dfb7854df28d65eb31a4c17380528d4a461d9c2a4222abe804cc

doc/eliom.server/Eliom_state/Ext/Low_level/index.html

Module Ext.Low_levelSource

Functions to access table data. Prefer using Eliom references.

Sourceval get_volatile_data : state:([< `Session_group | `Session | `Client_process ], [< `Data ]) state -> table:'a volatile_table -> 'a

Raises Not_found if no data in the table for the cookie.

Sourceval get_persistent_data : state:([< `Session_group | `Session | `Client_process ], [< `Pers ]) state -> table:'a persistent_table -> 'a Lwt.t

Fails with lwt exception Not_found if no data in the table for the cookie.

Sourceval set_volatile_data : state:([< `Session_group | `Session | `Client_process ], [< `Data ]) state -> table:'a volatile_table -> 'a -> unit
Sourceval set_persistent_data : state:([< `Session_group | `Session | `Client_process ], [< `Pers ]) state -> table:'a persistent_table -> 'a -> unit Lwt.t

Fails with lwt exception Not_found if no data in the table for the cookie.

Sourceval remove_volatile_data : state:([< `Session_group | `Session | `Client_process ], [< `Data ]) state -> table:'a volatile_table -> unit
Sourceval remove_persistent_data : state:([< `Session_group | `Session | `Client_process ], [< `Pers ]) state -> table:'a persistent_table -> unit Lwt.t
OCaml

Innovation. Community. Security.