Interface HttpProxySettings

HTTP(s) proxy settings

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

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)

user?: string

Proxy authorization username, if needed