Module Eliom_comet.​Configuration
module Configuration : sig..end
Change the reactivity of channels. Multiples configurations ( of
type t ) can be created. The resulting behaviour is the minimal
( in the meaning of maximal reactivity ) between all
configurations
type t
val new_configuration : unit -> t
val drop_configuration : t -> unit
Creates a new configuration with default value. It modifies the
current behaviour immediately
val set_always_active : t -> bool -> unit
drop_configuration t restores the behaviour to the minimum of
configuration without t. If there is no other configuration
than t, it is restored to the defaults.
val set_active_until_timeout : t -> bool -> unit
set_always_active c true tells the client to always stay active.
Default value is false.
val set_time_between_request : t -> float -> unit
set_active_until_timeout c v sets the activity changing
behaviour. if v is true the page is kept active even if not
focused until the client receive a timeout message from the
server. It implies that if the server keeps sending datas to the
client, the comet connection will never be closed.
Default value is false.
