Service parameters


Services with parameters

Service handlers take two parameters. The first one is for GET parameters (that is, parameters in the URL) and the second one for POST parameters (parameters in the body of the HTTP request).

The parameters of a service are provided via the arguments of the Eliom_service_sigs.​TYPES.​meth constructors. The specification of parameter types is done using combinators defined in the module