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
Is your feature request related to a problem? Please describe.
I would like to be able to customize the http client with socks5 configuration.
Describe the solution you'd like
I would like to be able to do something like:
let socks_http_connector = SocksConnector {
proxy_addr: std::env::var("SOCKS5").unwrap().parse::<Uri>().unwrap(), // scheme is required by HttpConnector
auth: None,
connector: http_connector.clone(),
};
And then inject this http_connector to the http client used by this library (I assume is reqwest)
Describe alternatives you've considered
An alternative (and better solution) would be to add a function to enable socks5 by specifying the socks5 proxy url, credentials, etc.
Additional context
For now, I would be happy if someone just tells me how I could inject my hyper client (with socks5 and rustls) into this library
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would like to be able to customize the http client with socks5 configuration.
Describe the solution you'd like
I would like to be able to do something like:
And then inject this http_connector to the http client used by this library (I assume is reqwest)
Describe alternatives you've considered
An alternative (and better solution) would be to add a function to enable socks5 by specifying the socks5 proxy url, credentials, etc.
Additional context
For now, I would be happy if someone just tells me how I could inject my hyper client (with socks5 and rustls) into this library
The text was updated successfully, but these errors were encountered: