Skip to content

HTTPProxy

Represents an HTTP proxy server that can be used to route HTTP requests through.

Remarks:

The HTTPProxy class is an implementation of the Proxy base class, specifically designed for HTTP proxy servers. It provides features such as transparent proxy support, sending the entire URI, and handling proxy authentication. This class is used to configure and manage HTTP proxy settings for HTTP requests.

Fields:

Boolean IsTransparent

Gets or sets whether the proxy can act as a transparent proxy. Default value is true.
A transparent proxy forwards client requests without modifying them. When set to true, the proxy behaves as a transparent proxy, meaning it forwards requests as-is. If set to false, it may modify requests, and this can be useful for certain advanced proxy configurations.

Boolean SendWholeUri

Gets or sets whether the proxy - when it's in non-transparent mode - excepts only the path and query of the request URI. Default value is true.

Boolean NonTransparentForHTTPS

Gets or sets whether the plugin will use the proxy as an explicit proxy for secure protocols (HTTPS://, WSS://).
When set to true, the plugin will issue a CONNECT request to the proxy for secure protocols, even if the proxy is marked as transparent. This is commonly used for ensuring proper handling of encrypted traffic through the proxy.

Comments