Describes proxy settings to be used with a driver instance.
Proxy
Initializes a new instance of the Proxy class.
Proxy(Dictionary<string, object>)Initializes a new instance of the Proxy class with the given proxy settings.
public Proxy(Dictionary<string, object> settings)
Parameters
settings
Dictionary<string, object>
A dictionary of settings to use with the proxy.
If settings
is null.
If The "noProxy" value is a list with a null element.
Gets the list of address for which to bypass the proxy as an array.
[JsonPropertyName("noProxy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ReadOnlyCollection<string>? BypassProxyAddresses { get; }
Property Value
Gets or sets the value of the proxy for the FTP protocol.
[JsonPropertyName("ftpProxy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[Obsolete("FTP proxy support is deprecated and will be removed in the 4.37 version.")]
public string? FtpProxy { get; set; }
Property Value
Gets or sets the value of the proxy for the HTTP protocol.
[JsonPropertyName("httpProxy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? HttpProxy { get; set; }
Property Value
Gets or sets a value indicating whether the proxy uses automatic detection.
[JsonIgnore]
public bool IsAutoDetect { get; set; }
Property Value
Gets or sets the type of proxy.
[JsonIgnore]
public ProxyKind Kind { get; set; }
Property Value
Gets or sets the URL used for proxy automatic configuration.
[JsonPropertyName("proxyAutoconfigUrl")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ProxyAutoConfigUrl { get; set; }
Property Value
Gets the type of proxy as a string for JSON serialization.
[JsonPropertyName("proxyType")]
public string SerializableProxyKind { get; }
Property Value
Gets or sets the value of password for the SOCKS proxy.
[JsonPropertyName("socksPassword")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SocksPassword { get; set; }
Property Value
Gets or sets the value of the proxy for the SOCKS protocol.
[JsonPropertyName("socksProxy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SocksProxy { get; set; }
Property Value
Gets or sets the value of username for the SOCKS proxy.
[JsonPropertyName("socksUsername")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SocksUserName { get; set; }
Property Value
Gets or sets the value of the protocol version for the SOCKS proxy. Value can be null if not set.
[JsonPropertyName("socksVersion")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public int? SocksVersion { get; set; }
Property Value
Gets or sets the value of the proxy for the SSL protocol.
[JsonPropertyName("sslProxy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SslProxy { get; set; }
Property Value
Adds a single address to the list of addresses against which the proxy will not be used.
public void AddBypassAddress(string address)
Parameters
address
string
The address to add.
Adds addresses to the list of addresses against which the proxy will not be used.
public void AddBypassAddresses(IEnumerable<string> addressesToAdd)
Parameters
addressesToAdd
IEnumerable<string>
An IEnumerable<T> object of arguments to add.
Adds addresses to the list of addresses against which the proxy will not be used.
public void AddBypassAddresses(params string[] addressesToAdd)
Parameters
addressesToAdd
string[]
An array of addresses to add.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4