Module Eliom_client
module Eliom_client : sig..end
Call server side services and change the current page.
val change_page :
?absolute:bool ->
?absolute_path:bool ->
?https:bool ->
service:('a, 'b, [< Eliom_services.service_kind ],
[< `WithSuffix | `WithoutSuffix ], 'c, 'd,
[< Eliom_services.registrable ], Eliom_output.appl_service)
Eliom_services.service ->
?hostname:string ->
?port:int ->
?fragment:string ->
?keep_nl_params:[ `All | `None | `Persistent ] ->
?nl_params:(string * string) list Eliom_pervasives.String.Table.t ->
?keep_get_na_params:bool -> 'a -> 'b -> unit Lwt.t
Call a server side service and change the current page.
If the service belongs to the same application,
the client side program is not stopped, and only
the content (not the container) is reloaded.
val call_caml_service :
?absolute:bool ->
?absolute_path:bool ->
?https:bool ->
service:('a, 'b, [< Eliom_services.service_kind ],
[< `WithSuffix | `WithoutSuffix ], 'c, 'd,
[< Eliom_services.registrable ], 'e Eliom_parameters.caml)
Eliom_services.service ->
?hostname:string ->
?port:int ->
?fragment:string ->
?keep_nl_params:[ `All | `None | `Persistent ] ->
?nl_params:(string * string) list Eliom_pervasives.String.Table.t ->
?keep_get_na_params:bool -> 'a -> 'b -> 'e Lwt.t
Call a server side service that return a Caml value.
val exit_to :
?absolute:bool ->
?absolute_path:bool ->
?https:bool ->
service:('a, 'b, [< Eliom_services.service_kind ],
[< `WithSuffix | `WithoutSuffix ], 'c, 'd,
[< Eliom_services.registrable ],
[< Eliom_output.non_caml_service ])
Eliom_services.service ->
?hostname:string ->
?port:int ->
?fragment:string ->
?keep_nl_params:[ `All | `None | `Persistent ] ->
?nl_params:(string * string) list Eliom_pervasives.String.Table.t ->
?keep_get_na_params:bool -> 'a -> 'b -> unit
Stop current program and load a new page.
val call_service :
?absolute:bool ->
?absolute_path:bool ->
?https:bool ->
service:('a, 'b, [< Eliom_services.service_kind ],
[< `WithSuffix | `WithoutSuffix ], 'c, 'd,
[< Eliom_services.registrable ], 'e)
Eliom_services.service ->
?hostname:string ->
?port:int ->
?fragment:string ->
?keep_nl_params:[ `All | `None | `Persistent ] ->
?nl_params:(string * string) list Eliom_pervasives.String.Table.t ->
?keep_get_na_params:bool -> 'a -> 'b -> string Lwt.t
(low level) Call a server side service and return the content
of the resulting HTTP frame as a string.
val change_url :
?absolute:bool ->
?absolute_path:bool ->
?https:bool ->
service:('a, 'b, [< Eliom_services.service_kind ],
[< `WithSuffix | `WithoutSuffix ], 'c, 'd,
[< Eliom_services.registrable ], 'e)
Eliom_services.service ->
?hostname:string ->
?port:int ->
?fragment:string ->
?keep_nl_params:[ `All | `None | `Persistent ] ->
?nl_params:(string * string) list Eliom_pervasives.String.Table.t ->
?keep_get_na_params:bool -> 'a -> 'b -> unit
(low level) Change the URL, without doing a request.
As browsers do not not allow to change the URL (for security reasons),
we write the new URL in the fragment part of the URL.
A script must do the redirection if there is something in the fragment.
Usually this function is only for internal use.
val wait_load_end : unit -> unit Lwt.t
wait for the loading phase to terminate
val on_unload : (unit -> unit) -> unit
register a function to be called on page change
module Html5 : sig..end
