You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi !
Are you asking how to proxy the HTTP requests made by this library through another server ?
If so, this library allows you to freely configure your HTTP client (reqwest::Client) before passing it over to be used by mega::Client.
This means that you can use the proxying features of reqwest to make this work, like so:
let http_client = reqwest::Client::builder().proxy(reqwest::Proxy::all("http://pro.xy")?).build()?;let mega_client = mega::Client::builder().build(http_client)?;// Every HTTP/S requests made by this `mega_client` shall now be proxied accordingly.
How to use proxy ?
The text was updated successfully, but these errors were encountered: