matrix-sdk: Allow to get Client's RequestConfig

master
Johannes Becker 2021-05-25 10:38:43 +02:00
parent 20454e1666
commit 7609c7445c
1 changed files with 5 additions and 0 deletions

View File

@ -297,6 +297,11 @@ impl ClientConfig {
self
}
/// Get the [`RequestConfig`]
pub fn get_request_config(&self) -> &RequestConfig {
&self.request_config
}
/// Specify a client to handle sending requests and receiving responses.
///
/// Any type that implements the `HttpSend` trait can be used to