Show / Hide Table of Contents

Class SettingsProxies

Provides proxy-related settings.

Inheritance
System.Object
ViewModelBase
SettingsProxies
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
ViewModelBase.PropertyChanged
ViewModelBase.OnPropertyChanged(String)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RuriLib.ViewModels
Assembly: RuriLib.dll
Syntax
public class SettingsProxies : ViewModelBase, INotifyPropertyChanged

Properties

| Improve this Doc View Source

AlwaysGetClearance

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
| Improve this Doc View Source

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
| Improve this Doc View Source

ConcurrentUse

Whether to allow two Bots to use the same proxy.

Declaration
public bool ConcurrentUse { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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[]
| Improve this Doc View Source

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[]
| Improve this Doc View Source

NeverBan

Whether to never ban the proxies.

Declaration
public bool NeverBan { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

ReloadPath

The API URL or the file path on disk.

Declaration
public string ReloadPath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ReloadSource

The source to reload the proxies from.

Declaration
public ProxyReloadSource ReloadSource { get; set; }
Property Value
Type Description
ProxyReloadSource
| Improve this Doc View Source

ReloadType

The Type of the proxies to load.

Declaration
public ProxyType ReloadType { get; set; }
Property Value
Type Description
Extreme.Net.ProxyType

Implements

System.ComponentModel.INotifyPropertyChanged
  • Improve this Doc
  • View Source
Back to top Generated by DocFX