package eliom
Advanced client/server Web and mobile framework
Install
Dune Dependency
Authors
Maintainers
Sources
11.0.1.tar.gz
md5=3aeeca5f734f8e932b5a00fbfd43bd26
sha512=d92948949c81fe5b84f7d262b72653175d4f69574cbb4f85433f3a40df436e9e78b3f024ebcd98cb0e1c8ec45af0e3f9cd1153187549883f4ddfd32feeee3176
doc/eliom.server/Eliom_mkreg/Make_poly/index.html
Module Eliom_mkreg.Make_poly
Source
Creating modules to register services for one type of parametrised pages
Parameters
module Pages : Eliom_registration_sigs.PARAM_POLY with type frame := Ocsigen_response.t
Signature
include Eliom_registration_sigs.S_poly
with type 'a page = 'a Pages.page
with type options = Pages.options
with type 'a return = 'a Pages.return
Source
val register :
?app:string ->
?scope:[< Eliom_common.scope ] ->
?options:options ->
?charset:string ->
?code:int ->
?content_type:string ->
?headers:Cohttp.Header.t ->
?secure_session:bool ->
service:
('get,
'post,
_,
_,
_,
Eliom_service.non_ext,
Eliom_service.reg,
_,
_,
_,
'a return)
Eliom_service.t ->
?error_handler:((string * exn) list -> 'a page Lwt.t) ->
('get -> 'post -> 'a page Lwt.t) ->
unit
See S.register
.
Source
val create :
?app:string ->
?scope:[< Eliom_common.scope ] ->
?options:options ->
?charset:string ->
?code:int ->
?content_type:string ->
?headers:Cohttp.Header.t ->
?secure_session:bool ->
?https:bool ->
?name:string ->
?csrf_safe:bool ->
?csrf_scope:[< Eliom_common.user_scope ] ->
?csrf_secure:bool ->
?max_use:int ->
?timeout:float ->
meth:('m, 'gp, 'gn, 'pp, 'pn, 'tipo, 'gp_) Eliom_service.meth ->
path:('att, 'co, 'gp_) Eliom_service.path_option ->
?error_handler:((string * exn) list -> 'a page Lwt.t) ->
('gp -> 'pp -> 'a page Lwt.t) ->
('gp,
'pp,
'm,
'att,
'co,
Eliom_service.non_ext,
Eliom_service.reg,
'tipo,
'gn,
'pn,
'a return)
Eliom_service.t
See S_with_create.create
.
Source
val create_attached_get :
?app:string ->
?scope:[< Eliom_common.scope ] ->
?options:options ->
?charset:string ->
?code:int ->
?content_type:string ->
?headers:Cohttp.Header.t ->
?secure_session:bool ->
?https:bool ->
?name:string ->
?csrf_safe:bool ->
?csrf_scope:[< Eliom_common.user_scope ] ->
?csrf_secure:bool ->
?max_use:int ->
?timeout:float ->
fallback:
(unit,
unit,
Eliom_service.get,
Eliom_service.att,
Eliom_service.non_co,
Eliom_service.non_ext,
_,
[ `WithoutSuffix ],
unit,
unit,
'a return)
Eliom_service.t ->
get_params:('gp, [ `WithoutSuffix ], 'gn) Eliom_parameter.params_type ->
?error_handler:((string * exn) list -> 'a page Lwt.t) ->
('gp -> unit -> 'a page Lwt.t) ->
('gp,
unit,
Eliom_service.get,
Eliom_service.att,
Eliom_service.co,
Eliom_service.non_ext,
Eliom_service.reg,
[ `WithoutSuffix ],
'gn,
unit,
'a return)
Eliom_service.t
See S_with_create.create_attached_get
.
Source
val create_attached_post :
?app:string ->
?scope:[< Eliom_common.scope ] ->
?options:options ->
?charset:string ->
?code:int ->
?content_type:string ->
?headers:Cohttp.Header.t ->
?secure_session:bool ->
?https:bool ->
?name:string ->
?csrf_safe:bool ->
?csrf_scope:[< Eliom_common.user_scope ] ->
?csrf_secure:bool ->
?max_use:int ->
?timeout:float ->
fallback:
('gp,
unit,
Eliom_service.get,
Eliom_service.att,
Eliom_service.non_co,
Eliom_service.non_ext,
_,
[ `WithoutSuffix ],
'gn,
unit,
'a return)
Eliom_service.t ->
post_params:('pp, [ `WithoutSuffix ], 'pn) Eliom_parameter.params_type ->
?error_handler:((string * exn) list -> 'a page Lwt.t) ->
('gp -> 'pp -> 'a page Lwt.t) ->
('gp,
'pp,
Eliom_service.post,
Eliom_service.att,
Eliom_service.co,
Eliom_service.non_ext,
Eliom_service.reg,
[ `WithoutSuffix ],
'gn,
'pn,
'a return)
Eliom_service.t
See S_with_create.create_attached_post
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page