Documentation - v0.27.0
    Preparing search index...

    Interface HttpProxySettings

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

    Hierarchy

    • HttpProxySettings
      • HttpProxySettings
    Index

    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).

    tlsOptions?: SecureContextOptions

    Additional TLS options, used if tls = true. Can contain stuff like custom certificate, host, or whatever.

    user?: string

    Proxy authorization username, if needed