socks_proxy icon indicating copy to clipboard operation
socks_proxy copied to clipboard

dart package,http/socks4/socks5 proxy

Results 8 socks_proxy issues
Sort by recently updated
recently updated
newest added

https://github.com/tayoji-io/socks_proxy/blob/7a1a6fe2f4a0c82eb7d7de3059e11f79f57a153c/lib/http_parser.dart#L487-L489 From [RFC1929](https://datatracker.ietf.org/doc/html/rfc1929), [VER] used in initial negotiation for authentication is 0x01 rather than 0x05, which leads to failure when autheticate with server. ![image](https://github.com/tayoji-io/socks_proxy/assets/43414462/3822e445-7cd0-4f1b-9760-5d4df8c9cb72) Besides, when autheticate failed due to...

Hi, the type SameSite is missing in the package. I'm getting `Error: Type 'SameSite' not found`.

Can't find how to make requests with headers. For example, with regular HTTP request we can use ``` Future fetchAlbum() async { final response = await http.get( Uri.parse('https://jsonplaceholder.typicode.com/albums/1'), // Send...

``` SocksProxy.initProxy(proxy: 'SOCKS5 185.105.89.38:27022'); await HttpClient() .getUrl(Uri.parse( 'https://raw.githubusercontent.com/tayoji-io/socks_proxy/master/README.md')) .then((value) { return value.close(); }) .then((value) { return value.transform(utf8.decoder); }) .then((value) { return value.fold( '', (dynamic previous, element) => previous + element);...

The import statement used in the docs is incorrect. It needs to be: ```import 'package:flutter_socks_proxy/socks_proxy.dart';```

when i set socks4/5 external proxy like 192.111.139.165:4145 ``` SocksProxy.initProxy( proxy: 'SOCKS5 192.111.139.165:4145', onCreate: (client) { client.badCertificateCallback = (X509Certificate cert, String host, int port) => true; }, ``` then i...