package eliom

  1. Overview
  2. Docs
Module type
Class type

Client and shared values

See the <<a_manual chapter="clientserver-language"|manual>> .

type +'a t

Client values on the server are created by the syntax {typ{ expr }} in the server section (cf. <<a_manual chapter="clientserver-language" fragment="clientvalues"|the manual>> ). They are abstract, but become concrete once sent to the client. See also <<a_api subproject="client" text="the concrete representation on the client" |type Eliom_client_value.t>> .

exception Client_value_creation_invalid_context of string

Raised if a client value of the given closure ID is created at a point in time where it is neither global (i.e. during the initialization of the server program), nor request (i.e. during the processing of a request).