mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 03:01:07 +00:00
backend::Rpc: Export RpcParams and rpc_params! (#2077)
* backend::Rpc: Export `RpcParams` and `rpc_params!` These are required to for example call `request` on the client and thus, should also be re-exported. * Move exports together --------- Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
@@ -22,7 +22,8 @@ use subxt_core::client::RuntimeVersion;
|
||||
|
||||
/// Some re-exports from the [`subxt_rpcs`] crate, also accessible in full via [`crate::ext::subxt_rpcs`].
|
||||
pub mod rpc {
|
||||
pub use subxt_rpcs::client::{RawRpcFuture, RawRpcSubscription, RawValue};
|
||||
pub use subxt_rpcs::client::{RawRpcFuture, RawRpcSubscription, RawValue, RpcParams};
|
||||
pub use subxt_rpcs::{RpcClient, RpcClientT, rpc_params};
|
||||
|
||||
crate::macros::cfg_reconnecting_rpc_client! {
|
||||
/// An RPC client that automatically reconnects.
|
||||
@@ -64,8 +65,6 @@ pub mod rpc {
|
||||
/// ```
|
||||
pub use subxt_rpcs::client::reconnecting_rpc_client;
|
||||
}
|
||||
|
||||
pub use subxt_rpcs::{RpcClient, RpcClientT};
|
||||
}
|
||||
|
||||
/// Prevent the backend trait being implemented externally.
|
||||
|
||||
Reference in New Issue
Block a user