This package implements version 2.0 of the protocol, with the exception of batching / multicall. This feature is deliberately left out as it tends to confuse users (judging by posts in the JSON-RPC forum).
Package dependencies: The classes in this package rely on the
(version 1.1.1 and compabile) for JSON encoding and decoding. You can obtain
them from the JSON-Smart
- Vladimir Dzhuvinov
Class Summary Class Description JSONRPC2MessageThe base abstract class for JSON-RPC 2.0 requests, notifications and responses. JSONRPC2NotificationRepresents a JSON-RPC 2.0 notification. JSONRPC2ParserParses JSON-RPC 2.0 request, notification and response messages. JSONRPC2RequestRepresents a JSON-RPC 2.0 request. JSONRPC2ResponseRepresents a JSON-RPC 2.0 response.
Enum Summary Enum Description JSONRPC2ParamsTypeEnumeration of the three parameter types in JSON-RPC 2.0 requests and notifications.
Exception Summary Exception Description JSONRPC2ErrorRepresents a JSON-RPC 2.0 error that occurred during the processing of a request. JSONRPC2ParseExceptionThrown to indicate an exception during the parsing of a JSON-RPC 2.0 message string.