Crate async_jsonrpc_client[−][src]
An async JSON-RPC 2.0 client library.
Modules
header | HTTP header types |
Structs
Error | JSON-RPC Error Object. |
Failure | Represents JSON-RPC 2.0 failure response. |
HeaderName | Represents an HTTP header field name |
HeaderValue | Represents an HTTP header field value. |
HttpClient | HTTP JSON-RPC client |
HttpClientBuilder | A |
Map | Represents a JSON key/value type. |
MethodCall | Represents JSON-RPC 2.0 request which is a method call. |
Notification | Represents JSON-RPC 2.0 request which is a notification. |
SubscriptionNotification | Server notification about something the client is subscribed to. |
SubscriptionNotificationParams | Parameters of the subscription notification. |
Success | Represents JSON-RPC 2.0 success response. |
WsClient | WebSocket JSON-RPC client |
WsClientBuilder | A |
WsSubscription | Active subscription on a websocket client. |
Enums
Call | Represents single JSON-RPC 2.0 call. |
ErrorCode | JSON-RPC Error Code. |
HttpClientError | The error type for rpc transport. |
Id | Represents JSON-RPC request id. |
MethodCallRequest | JSON-RPC 2.0 Request object (only for method call). |
Output | Represents success / failure output of JSON-RPC 2.0 response. |
Params | Represents JSON-RPC 2.0 request parameters. |
Request | JSON-RPC 2.0 Request object. |
Response | JSON-RPC 2.0 Response object. |
Value | Represents any valid JSON value. |
Version | JSON-RPC Protocol Version. |
WsClientError | The error type for websocket rpc transport. |
WsError | Possible WebSocket errors. |
Traits
BatchTransport | A JSON-RPC 2.0 transport supporting batch requests. |
PubsubTransport | A JSON-RPC 2.0 transport supporting subscriptions. |
Transport | A JSON-RPC 2.0 transport. |