jcs:execute() Function
Syntax
var $result = jcs:execute(connection, rpc)
Description
Execute a remote procedure call (RPC) within the context of a specified connection handle. Any number of RPCs may be executed within the context of the connection handle until it is closed with the jcs:close() function.
Parameters
- connection—Connection handle generated by a call to the jcs:open() function.
- rpc—RPC to be executed.
Return Value
- $result—Results of the executed RPC, which includes the contents of the <rpc-reply> element, but not the <rpc-reply> tag itself. This $result variable is the same as that produced by the jcs:invoke() function.
var $result = jcs:execute($connection, $rpc);
Hide Navigation Pane
Show Navigation Pane
Download
SHA1