void exposeRpcMethod(DOMString methodName, Object context, Function method)

Expose a method for the clients or servers to call.

See the RPC Basics section for more information about the Spaceify's RPC support.

Parameter Description
methodName The name of the method to expose. The RPC requests call the method by this name.
context The context of the exposed method.
method The exposed method.
copyright © 2014