Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojo/rpc/JsonService.js

  • Provides:

    • dojo.rpc.JsonService
  • Requires:

    • dojo.rpc.RpcService in common
  • dojo.rpc.JsonService

    • type
      Function
    • chains:
      • dojo.rpc.RpcService: (prototype)
      • dojo.rpc.RpcService: (call)
  • dojo.rpc.JsonService.bustCache

    • type
      bool
  • dojo.rpc.JsonService.contentType

    • type
      String
  • dojo.rpc.JsonService.lastSubmissionId

    • type
      Number
  • dojo.rpc.JsonService.callRemote

    • parameters:
      • method: (typeof string)
        the name of the remote method you want to call.
      • params: (typeof array)
        array of parameters to pass to method
    • summary
      call an arbitrary remote method without requiring it to be
      predefined with SMD
    • type
      Function
  • dojo.rpc.JsonService.bind

    • parameters:
      • method: (typeof string)
        The name of the method we are calling
      • parameters: (typeof array)
        The parameters we are passing off to the method
      • deferredRequestHandler: (typeof deferred)
        The Deferred object for this particular request
      • url
    • summary
      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.
    • type
      Function
  • dojo.rpc.JsonService.createRequest

    • parameters:
      • method: (typeof string)
        The name of the method we are creating the requst for
      • params: (typeof array)
        The array of parameters for this request;
    • summary
      create a JSON-RPC envelope for the request
    • type
      Function
  • dojo.rpc.JsonService.parseResults

    • parameters:
      • obj: (typeof anything)
        Object Object containing envelope of data we recieve from the server
    • summary
      parse the result envelope and pass the results back to
      the callback function
    • type
      Function
  • dojo.rpc

    • type
      Object
  • dojo

    • type
      Object