Functiondojo.rpc.JsonService.bind

dojo.require("dojo.rpc.JsonService");
defined in dojo/rpc/JsonService.js

JSON-RPC bind method. Takes remote method, parameters, deferred, and a url, calls createRequest to make a JSON-RPC envelope and passes that off with bind.

Usage

function (/*String*/ method, /*Array*/ parameters, deferredRequestHandler, url) (view source)
parametertypedescription
methodStringThe name of the method we are calling
parametersArrayThe parameters we are passing off to the method
deferredRequestHandler The Deferred object for this particular request
url