Proxy.socks4 constructor
Proxy.socks4({})
Creates a new Proxy with SOCKS4 protocol
Implementation
factory Proxy.socks4({
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.socks4,
anonymityLevel: anonymityLevel,
region: region,
isp: isp,
speed: speed,
supportsWebsockets: supportsWebsockets,
auth: auth,
);
}