Module Eliom_predefmod.Redirection
module Redirection:
Eliom_mkreg.ELIOMREGSIG with
type page =
(unit, unit, Eliom_services.get_service_kind,
[ `WithoutSuffix ],
unit, unit, Eliom_services.registrable)
Eliom_services.service
and type options = [ `Temporary | `Permanent ]
Allows to create redirections towards another service.
A 301 or 307 code is sent to the browser to ask it to redo the request to
another URL.
To choose if you want permanent or temporary redirection, use
the options parameter of registration functions.
For example: register ~options:`Temporary ....
include Eliom_mkreg.ELIOMREGSIG1
module Cookies:
Eliom_mkreg.ELIOMREGSIG1
with type page = page * Eliom_services.cookie list