package eliom

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

10.2.0.tar.gz
md5=089b68d5bac8dfae1116923f6d95b39c
sha512=b4828b57d963d217ca0efd871b1c0b3f8816c7971825eb49d0dc06dbd91004fc659f83f9121d849ab8de47560941d07b2b9c1838b3387e7c1a4d3d6b9058936b

doc/eliom.server/Eliom_notif/module-type-ARG/index.html

Module type Eliom_notif.ARGSource

ARG is for making Make

Sourcetype identity

see S.identity

Sourcetype key

see S.key

Sourcetype server_notif

see S.server_notif

Sourcetype client_notif

see S.client_notif

Sourceval prepare : identity -> server_notif -> client_notif option Lwt.t

prepare f transforms server notifications into client notifications. It provides the identity as a parameter which identifies the client. You can suppress notifications for a specific client (for instance because of missing authorisation) by having f return None.

Sourceval equal_key : key -> key -> bool

equal_key is a function testing the equality between two values of type key.

Sourceval equal_identity : identity -> identity -> bool

equal_identity is the same as equal_key but for values of type identity.

Sourceval get_identity : unit -> identity Lwt.t

get_identity is a function returning a value of type identity corresponding to a client.

Sourceval max_resource : int

max_resource is the initial size for the hash table storing the data of clients listening on resources, for best results it should be on the order of the expected number of different resources one may want to be able to listen to.

Sourceval max_identity_per_resource : int

max_identity_per_resource is the initial size for the tables storing the data of clients listening on one given resource, fo best results it should be on the order of the expected number of clients that may listen on a given resource.

OCaml

Innovation. Community. Security.