Module Registration.Ocaml
module Ocaml :
Registration_sigs.S_poly_with_create_with_send
with type 'a page = 'a
and type options = unit
and type 'a return = 'a Service.ocaml
and type 'a result = 'a ocaml_content kind
Eliom service registration for services that send marshalled OCaml values.
include 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