Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Eliom_registration.Ocaml

module Ocaml : 
with type 'a page = 'a
and type options = unit
and type 'a return = 'a Eliom_service.ocaml
and type 'a result = 'a ocaml_content kind

Eliom service registration for services that send marshalled OCaml values.

include Eliom_registration_sigs.S_poly_with_create
type 'a result
val send : 
  ?options:options ->
  ?charset:string ->
  ?code:int ->
  ?content_type:string ->
  ?headers:Cohttp.Header.t ->
  'a page ->
  'a result Lwt.t