sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Eliom_service_sigs.TYPEStype ('get, 'tipo, 'gn) params = ('get, 'tipo, 'gn) Eliom_parameter.params_type constraint 'tipo = [< `WithSuffix | `WithoutSuffix ]type ('m, _, _, _, _, _, _) meth = | Get : ('gp, 'tipo, 'gn) params -> (get, 'gp, 'gn, unit, unit, 'tipo, unit) meth| Post : ('gp, 'tipo, 'gn) params
* ('pp, [ `WithoutSuffix ], 'pn) params -> (post,
'gp,
'gn,
'pp,
'pn,
'tipo,
'gp)
meth| Put : ('gp, 'tipo, 'gn) params -> (put,
'gp,
'gn,
Eliom_parameter.raw_post_data,
Eliom_parameter.no_param_name,
'tipo,
unit)
meth| Delete : ('gp, 'tipo, 'gn) params -> (delete,
'gp,
'gn,
Eliom_parameter.raw_post_data,
Eliom_parameter.no_param_name,
'tipo,
unit)
methMethod specification datatype
An Eliom service (see Eliom_service_sigs.S.t) can respond to one of the following HTTP methods:
Get g)Post (g, p))Put g)Delete g)In all cases, the service parameters need to be provided (see Eliom_parameter_sigs.S). POST (Post (g, p)) services accept both GET (g) and POST (p) parameters. For the other methods, only GET (g) parameters apply.
The type parameters are used to impose various type constraints, and are not necessarily of interest to the programmer. Their technical meaning is as follows.
Post (g, p) case when g is not unit ; used to force unit GET parameters when neededtype 'm which_meth = | Get' : get which_meth| Post' : post which_meth| Put' : put which_meth| Delete' : delete which_methLike meth but without the parameters