dojo.rpc.JsonpService
dojo.require("dojo.rpc.JsonpService");
defined in dojo/rpc/JsonpService.js
Generic JSONP service. Minimally extends RpcService to allow easy definition of nearly any JSONP style service. Example SMD files exist in dojox.data
Usage
function (args, requiredArgs) (view source)
parameter | type | description |
---|---|---|
args | ||
requiredArgs |
FunctionsBack to top
JSONP bind method. Takes remote method, parameters, deferred, and a url, calls createRequest to make a JSON-RPC envelope and passes that off with bind.

create a JSONP req params: array The array of parameters for this request;
Defined by dojo.rpc.RpcService
create callback that calls the Deferres errback method
Defined by dojo.rpc.RpcService
generate the local bind methods for the remote object
Defined by dojo.rpc.RpcService
parse the results coming back from an rpc request. this base implementation, just returns the full object subclasses should parse and only return the actual results

Defined by dojo.rpc.RpcService
callback method for reciept of a smd object. Parse the smd and generate functions based on the description
Defined by dojo.rpc.RpcService
create callback that calls the Deferred's callback method
PropertiesBack to top
Defined by dojo.rpc.RpcService
Defined by dojo.rpc.RpcService
Defined by dojo.rpc.RpcService
Overrides dojo.rpc.RpcService
Defined by dojo.rpc.RpcService