Class SettingsProxies
Provides proxy-related settings.
Implements
Inherited Members
Namespace: RuriLib.ViewModels
Assembly: RuriLib.dll
Syntax
public class SettingsProxies : ViewModelBase, INotifyPropertyChanged
Properties
| Improve this Doc View SourceAlwaysGetClearance
Whether to avoid storing the clearance cookie for future use when querying the site from the same IP (proxy).
Declaration
public bool AlwaysGetClearance { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
BanAfterGoodStatus
Whether to never ban the proxy after a SUCCESS, CUSTOM or NONE status (not FAIL or RETRY).
Declaration
public bool BanAfterGoodStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ConcurrentUse
Whether to allow two Bots to use the same proxy.
Declaration
public bool ConcurrentUse { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
GlobalBanKeys
The array of possible bad replies from a proxy server.
The proxy will be banned when one of the keys is found.
These are useful to immediately blacklist proxies that need a captive portal or that only accept IPs from a given region.
Declaration
public string[] GlobalBanKeys { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
GlobalRetryKeys
The array of possible temporary bad replies from a proxy server.
The proxy will be retried on the next check.
These are useful when the proxy is temporarily too busy because of high traffic.
Declaration
public string[] GlobalRetryKeys { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
NeverBan
Whether to never ban the proxies.
Declaration
public bool NeverBan { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ParseWithIPRegex
Whether to use an IP:PORT regex to extract the proxies from the source.
The regex will match proxies of the form 127.0.0.1:8888.
This is useful for example when the server returns proxies in a HTML, XML or JSON format and not one proxy per line.
This is also useful when the server returns proxies with unix-like line endings.
Declaration
public bool ParseWithIPRegex { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Reload
Whether to reload the proxies from the proxy source after they are all banned.
Declaration
public bool Reload { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ReloadPath
The API URL or the file path on disk.
Declaration
public string ReloadPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ReloadSource
The source to reload the proxies from.
Declaration
public ProxyReloadSource ReloadSource { get; set; }
Property Value
Type | Description |
---|---|
ProxyReloadSource |
ReloadType
The Type of the proxies to load.
Declaration
public ProxyType ReloadType { get; set; }
Property Value
Type | Description |
---|---|
Extreme.Net.ProxyType |