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