summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mullvad-rpc/src/rest.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mullvad-rpc/src/rest.rs b/mullvad-rpc/src/rest.rs
index dab6627ec6..d29feee9f0 100644
--- a/mullvad-rpc/src/rest.rs
+++ b/mullvad-rpc/src/rest.rs
@@ -329,7 +329,7 @@ pub struct RequestFactory {
host: String,
address: Option<IpAddr>,
path_prefix: Option<String>,
- timeout: Duration,
+ pub timeout: Duration,
}
@@ -547,7 +547,7 @@ pub async fn handle_error_response<T>(response: Response) -> Result<T> {
#[derive(Clone)]
pub struct MullvadRestHandle {
pub(crate) service: RequestServiceHandle,
- pub(crate) factory: RequestFactory,
+ pub factory: RequestFactory,
}
impl MullvadRestHandle {