handleRequest(server, str)This method processes an incoming JSON-RPC request. It takes a JSON-encoded string representing a request (or batch of requests) and returns the corresponding JSON-RPC response. It handles method invocation, error handling, and batching automatically. Note that makeRequest is useful for constructing requests.
|
|
|
|
If you need to do any error handling in a method, then the JSONRPCError class may be useful.
The object handleRequest is a method function.
The source of this document is in JSONRPC.m2:363:0.