This is server API (go to client)

Module Eliom_registration.​Redirection

module Redirection : sig..end

Eliom service registration for services that returns a redirections towards another service. See the Eliom manual for more information about Redirections outputs.

The default returned HTTP code is 302 Found. You could use the optional parameter ~options to change this value:

  • `MovedPermanently to return 301 Moved Permanently.
  • `Found to return 302 Found.
  • `SeeOther to return 303 See Other.
  • `NotNodifed to return 304 Not Modified.
  • `UseProxy to return 305 Use Proxy.
  • `TemporaryRedirect to return 307 Temporary Redirect.

include Eliom_reg_sigs.​S_poly
val send : 
  ?options:options ->
  ?charset:string ->
  ?code:int ->
  ?content_type:string ->
  ?headers:Http_headers.t -> 'a page -> 'b Eliom_registration.kind Lwt.t

More polymorphic version of Eliom_reg_sigs.send