Add ability to set custom metadata etc on OnlineClient (#794)

* Add _at and _with methods to OnlineClient to allow for more instantiation options

* tweak warnings

* move a confusing comment

* expose ability to set metadata and such in OnlineClient, but remove most _at methods
This commit is contained in:
James Wilson
2023-01-19 10:49:00 +00:00
committed by GitHub
parent 61878cc20a
commit b7a29a5efe
2 changed files with 83 additions and 9 deletions
+6
View File
@@ -23,3 +23,9 @@ pub use online_client::{
Update,
UpgradeError,
};
#[cfg(any(
feature = "jsonrpsee-ws",
all(feature = "jsonrpsee-web", target_arch = "wasm32")
))]
pub use online_client::default_rpc_client;