Builder

class Builder

Properties

Link copied to clipboard

Optional authentication credentials for the proxy server. If omitted, the proxy is accessed without authentication (useful for IP-allowlisted proxies).

Link copied to clipboard

Optional array of domain patterns that should route through this specific proxy. Supports .example.com for subdomain matching (matches any subdomain of example.com) or example.com for exact domain matching. If omitted, this proxy acts as a catch-all for domains not matched by other proxies. Maximum 100 patterns per proxy, each up to 253 characters.

Link copied to clipboard
var port: Int?

The port number of the proxy server. Valid range: 1-65535.

Link copied to clipboard

The hostname of the proxy server. Must be a valid DNS hostname (maximum 253 characters).