Skip to main content

Crate jsonrpsee_http_client

Crate jsonrpsee_http_client 

Source
Expand description

§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.

Re-exports§

pub use jsonrpsee_types as types;

Modules§

transport
HTTP transport.

Structs§

HeaderMap
A set of HTTP headers
HeaderValue
Represents an HTTP header field value.
HttpClient
JSON-RPC HTTP Client that provides functionality to perform method calls and notifications.
HttpClientBuilder
HTTP client builder.
RpcService
This is the default implementation of the jsonrpsee_core::middleware::RpcServiceT trait used in the HttpClient. RPC service that provides JSON-RPC functionality over HTTP transport.

Type Aliases§

CustomCertStoretls
Custom TLS configuration.
HttpBody
Default HTTP body for the client.
HttpRequest
HTTP request with default body.
HttpResponse
HTTP response with default body.