Crate jsonrpsee_http_client[−][src]
jsonrpsee-http-client
jsonrpsee-http-client
is JSON RPC HTTP client library that’s is built for async/await
.
It is tightly-coupled to tokio
because hyper
is used as transport client,
which is not compatible with other async runtimes such as
async-std
, smol
and similar.
It supports both tokio 1.0
and tokio 0.2
via Optional features.
Optional Features
jsonrpsee-http-client
uses the following feature flags:
Modules
error | Shared error type. |
traits | Traits |
v2 | JSON-RPC 2.0 specification related types v2. |
Structs
BatchMessage | Batch request message. |
HttpClient | JSON-RPC HTTP Client that provides functionality to perform method calls and notifications. |
HttpClientBuilder | Http Client Builder. |
JsonRawValue | Reference to a range of bytes encompassing a single valid JSON value in the input data. |
RequestMessage | Request message. |
Subscription | Active subscription on a Client. |
SubscriptionMessage | Subscription message. |
Enums
Error | Error type. |
FrontToBack | Message that the Client can send to the background task. |
JsonValue | Represents any valid JSON value. |
Constants
TEN_MB_SIZE_BYTES | Ten megabytes. |
Traits
DeserializeOwned | A data structure that can be deserialized without borrowing any data from the deserializer. |
Serialize | A data structure that can be serialized into any data format supported by Serde. |
Functions
to_json_value | Convert a |
Type Definitions
Cow | Compact three word |
Derive Macros
Serialize |