withAuth method

Proxy withAuth(
  1. ProxyAuth auth
)

Creates a new Proxy with the given authentication credentials

Implementation

Proxy withAuth(ProxyAuth auth) {
  return Proxy(
    ip: ip,
    port: port,
    countryCode: countryCode,
    isHttps: isHttps,
    protocol: protocol,
    anonymityLevel: anonymityLevel,
    region: region,
    isp: isp,
    speed: speed,
    supportsWebsockets: supportsWebsockets,
    auth: auth,
  );
}