Is there a way to pass additional data with each RPC call that isn't
specified in the function parameters? I want to pass a hidden version number
with each call so I can check it against the server to ensure the client
isn't running a stale version of the program.
--
You received this
Hi Paul,
Depending on how you have the servlet configured I would embed this
into the Servlet URL instead. (that way your API is kind of
protected).
Use the Constants interface to load the Version from a properties
file.
-== foo/package/ClientConfiguration.properties ==-
version=1.0
-==
Have a look at the RpcRequestBuilder class. You can use it to, either, tweak
the URL (as suggested by Ramon), add a request header, or change the request
payload.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send