Proxy.socks5 constructor
Proxy.socks5({})
Creates a new Proxy with SOCKS5 protocol
Implementation
factory Proxy.socks5({
required String ip,
required int port,
String? countryCode,
String? anonymityLevel,
String? region,
String? isp,
double? speed,
bool? supportsWebsockets,
ProxyAuth? auth,
}) {
return Proxy(
ip: ip,
port: port,
countryCode: countryCode,
isHttps: false,
protocol: ProxyProtocol.socks5,
anonymityLevel: anonymityLevel,
region: region,
isp: isp,
speed: speed,
supportsWebsockets: supportsWebsockets,
auth: auth,
);
}