matrix-sdk: Allow to get Client's RequestConfig

This commit is contained in:
Johannes Becker 2021-05-25 10:38:43 +02:00
parent 20454e1666
commit 7609c7445c

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