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
It would be able to connect to socks proxies such as tor. SOCKS5h specifically (Socks5 with dns resolution)
Solution Brainstorm
final Dio Dio = Dio()
..httpClientAdapter = Http2Adapter(
ConnectionManager(idleTimeout: const Duration(seconds: 10),
onClientCreate: (_, config) =>
config.proxy = Uri.parse('socks5h://127.0.0.1:9050'),
),
);
This code should work; however, it tries to connect as if its an http proxy.
The text was updated successfully, but these errors were encountered:
Request Statement
It would be able to connect to socks proxies such as tor. SOCKS5h specifically (Socks5 with dns resolution)
Solution Brainstorm
final Dio Dio = Dio()
..httpClientAdapter = Http2Adapter(
ConnectionManager(idleTimeout: const Duration(seconds: 10),
onClientCreate: (_, config) =>
config.proxy = Uri.parse('socks5h://127.0.0.1:9050'),
),
);
This code should work; however, it tries to connect as if its an http proxy.
The text was updated successfully, but these errors were encountered: