matrix-sdk: Allow to get Client's RequestConfig
parent
20454e1666
commit
7609c7445c
|
@ -297,6 +297,11 @@ impl ClientConfig {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Get the [`RequestConfig`]
|
||||||
|
pub fn get_request_config(&self) -> &RequestConfig {
|
||||||
|
&self.request_config
|
||||||
|
}
|
||||||
|
|
||||||
/// Specify a client to handle sending requests and receiving responses.
|
/// Specify a client to handle sending requests and receiving responses.
|
||||||
///
|
///
|
||||||
/// Any type that implements the `HttpSend` trait can be used to
|
/// Any type that implements the `HttpSend` trait can be used to
|
||||||
|
|
Loading…
Reference in New Issue