package eliom

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

Install

Dune Dependency

Authors

Maintainers

Sources

11.0.1.tar.gz
md5=3aeeca5f734f8e932b5a00fbfd43bd26
sha512=d92948949c81fe5b84f7d262b72653175d4f69574cbb4f85433f3a40df436e9e78b3f024ebcd98cb0e1c8ec45af0e3f9cd1153187549883f4ddfd32feeee3176

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.