package eliom
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=4ed25da253920c4d30672c52daae8c86
sha512=c5a0ff26c3b605e9807ba37b0f0c98f05af763c585a42621412dae59589fea8ffa9aa279d4af5e59a3a20a01f955f1e9d035ad6d63cd25bb309fec3ab5514929
doc/eliom.server/Eliom_notif/module-type-ARG/index.html
Module type Eliom_notif.ARG
Source
ARG
is for making Make
see S.identity
see S.key
see S.server_notif
see S.client_notif
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
.
equal_key
is a function testing the equality between two values of type key
.
equal_identity
is the same as equal_key
but for values of type identity
.
get_identity
is a function returning a value of type identity
corresponding to a client.
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.
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.