[−][src]Crate async_jsonrpc_client
An asynchronous JSON-RPC client library, which supports HTTP and WebSocket.
Structs
Error | Error object as defined in Spec |
FailureResponse | Unsuccessful response |
HttpTransport | HTTP transport |
MethodCall | Represents JSON-RPC request which is a method call. |
Notification | Represents JSON-RPC request which is a notification. |
SuccessResponse | Successful response |
WebSocketTransport |
Enums
Call | Represents single JSON-RPC call. |
ErrorCode | JSON-RPC error code |
Params | Request parameters |
Request | Represents jsonrpc request. |
Response | Synchronous response |
ResponseOutput | Represents output of response - failure or success |
RpcError | The error type for rpc client. |
Value | Represents any valid JSON value. |
Version | Protocol Version |
Traits
BatchTransport | A transport implementation supporting batch requests |
PubsubTransport | A transport implementation supporting pub sub subscriptions. |
Transport | Transport implementation. |
Type Definitions
NotificationStream | The type of stream pub-sub transport returns. |
RequestId | Request Id |
Result | A result type that wraps up the rpc client errors. |
SubscriptionId | Subscription Id |