We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94333d8 commit 514bc7cCopy full SHA for 514bc7c
crates/tx-cache/src/client.rs
@@ -54,6 +54,16 @@ impl TxCache {
54
Self::new_with_client(url, client)
55
}
56
57
+ /// Get the client used to send requests
58
+ pub const fn client(&self) -> &reqwest::Client {
59
+ &self.client
60
+ }
61
+
62
+ /// Get the URL of the transaction cache.
63
+ pub const fn url(&self) -> &reqwest::Url {
64
+ &self.url
65
66
67
async fn forward_inner<T: Serialize + Send, R: DeserializeOwned>(
68
&self,
69
join: &'static str,
0 commit comments