package eliom

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Eliom_registration_sigs.S_poly with type 'a page = Eliom_service.non_ocaml redirection with type options = [ `MovedPermanently | `Found | `SeeOther | `NotNodifed | `UseProxy | `TemporaryRedirect ] with type 'a return = Eliom_service.non_ocaml
type options = [
  1. | `MovedPermanently
  2. | `Found
  3. | `SeeOther
  4. | `NotNodifed
  5. | `UseProxy
  6. | `TemporaryRedirect
]
type 'a return = Eliom_service.non_ocaml
val register : ?app:string -> ?scope:[< Eliom_common.scope ] -> ?options:options -> ?charset:string -> ?code:int -> ?content_type:string -> ?headers:Eliom_service.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.

type 'a result = browser_content kind
val send : ?options:options -> ?charset:string -> ?code:int -> ?content_type:string -> ?headers:Eliom_service.Cohttp.Header.t -> 'a page -> 'a result Lwt.t