interface HttpProxySettings {
    headers?: Record<string, string>;
    host: string;
    password?: string;
    port: number;
    tls?: boolean;
    user?: string;
}

Hierarchy

  • HttpProxySettings
    • HttpProxySettings

Properties

headers?: Record<string, string>

Proxy connection headers, if needed

host: string

Host or IP of the proxy (e.g. proxy.example.com, 1.2.3.4)

password?: string

Proxy authorization password, if needed

port: number

Port of the proxy (e.g. 8888)

tls?: boolean

Whether this is a HTTPS proxy (by default it is regular HTTP).

user?: string

Proxy authorization username, if needed