This is client API (go to server)

Module Eliom_unwrap

module Eliom_unwrap : sig..end

register_unwrapper id f register an unwrapping function f to be called when a value is marked with the id id


type unwrap_id
val register_unwrapper : unwrap_id -> ('a -> 'b) -> unit
val unwrap : 'a Eliom_wrap.wrapped_value -> 'a

register_unwrapper id f register an unwrapping function f to be called when a value is marked with the id id

val id_of_int : int -> unwrap_id

unwrap (mark,v) transform the value v using registered wrappers. mark is the value used to mark values as unwrappers. This function is for internal use only