Skip to content

Commit a7d3a3c

Browse files
Daniel SalinasDaniel Salinas
authored andcommitted
Update Proxy usage
1 parent ecd6397 commit a7d3a3c

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

bindings/matrix-sdk-ffi/src/client_builder.rs

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,15 @@ use std::{fs, num::NonZeroUsize, path::Path, sync::Arc, time::Duration};
22

33
use futures_util::StreamExt;
44
#[cfg(not(target_family = "wasm"))]
5-
use matrix_sdk::reqwest::Certificate;
5+
use matrix_sdk::reqwest::{Certificate, Proxy};
66
use matrix_sdk::{
7-
authentication::oauth::qrcode::{self, DeviceCodeErrorResponseType, LoginFailureReason},
8-
crypto::{
7+
authentication::oauth::qrcode::{self, DeviceCodeErrorResponseType, LoginFailureReason}, crypto::{
98
types::qr_login::{LoginQrCodeDecodeError, QrCodeModeData},
109
CollectStrategy, TrustRequirement,
11-
},
12-
encryption::{BackupDownloadStrategy, EncryptionSettings},
13-
event_cache::EventCacheError,
14-
ruma::{ServerName, UserId},
15-
sliding_sync::{
10+
}, encryption::{BackupDownloadStrategy, EncryptionSettings}, event_cache::EventCacheError, ruma::{ServerName, UserId}, sliding_sync::{
1611
Error as MatrixSlidingSyncError, VersionBuilder as MatrixSlidingSyncVersionBuilder,
1712
VersionBuilderError,
18-
},
19-
Client as MatrixClient, ClientBuildError as MatrixClientBuildError, HttpError, IdParseError,
20-
RumaApiError, SendOutsideWasm, SyncOutsideWasm,
13+
}, Client as MatrixClient, ClientBuildError as MatrixClientBuildError, HttpError, IdParseError, RumaApiError, SendOutsideWasm, SyncOutsideWasm
2114
};
2215
use matrix_sdk_common::{runtime::get_runtime_handle, SendOutsideWasm, SyncOutsideWasm};
2316
use ruma::api::error::{DeserializationError, FromHttpResponseError};

0 commit comments

Comments
 (0)