Handles HTTP/HTTPS Internet connections via proxy server. More...

Inheritance diagram for Crosstales.OnlineCheck.Tool.Proxy:

Public Member Functions

void EnableHTTPProxy ()
 Enables or disables a proxy server for HTTPS connections with the current instance variables as parameters. More...
 
void EnableHTTPSProxy ()
 Enables or disables a proxy server for HTTPS connections with the current instance variables as parameters. More...
 

Static Public Member Functions

static void EnableHTTPProxy (string url, int port, string username="", string password="", string urlProtocol="")
 Enables or disables a proxy server for HTTP connections. More...
 
static void EnableHTTPSProxy (string url, int port, string username="", string password="", string urlProtocol="")
 Enables or disables a proxy server for HTTPS connections. More...
 
static void DisableHTTPProxy ()
 Disables the proxy server for HTTP connections. More...
 
static void DisableHTTPSProxy ()
 Disables the proxy server for HTTPS connections. More...
 

Public Attributes

string HTTPProxyURL
 URL (without protocol) or IP of the proxy server. More...
 
int HTTPProxyPort = 8080
 Port of the proxy server. More...
 
string HTTPProxyUsername = string.Empty
 Username for the proxy server (optional). More...
 
string HTTPProxyPassword = string.Empty
 Password for the proxy server (optional). More...
 
string HTTPProxyURLProtocol = string.Empty
 Protocol (e.g. 'http://') for the proxy server (optional). More...
 
string HTTPSProxyURL
 URL (without protocol) or IP of the proxy server. More...
 
int HTTPSProxyPort = 8443
 Port of the proxy server. More...
 
string HTTPSProxyUsername = string.Empty
 Username for the proxy server (optional). More...
 
string HTTPSProxyPassword = string.Empty
 Password for the proxy server (optional). More...
 
string HTTPSProxyURLProtocol = string.Empty
 Protocol (e.g. 'http://') for the proxy server (optional). More...
 
bool EnableOnAwake
 Enable the proxy on awake (default: false). More...
 

Properties

static bool hasHTTPProxy [get]
 Is HTTP-proxy enabled? More...
 
static bool hasHTTPSProxy [get]
 Is HTTPS-proxy enabled? More...
 

Detailed Description

Handles HTTP/HTTPS Internet connections via proxy server.

Member Function Documentation

◆ DisableHTTPProxy()

static void Crosstales.OnlineCheck.Tool.Proxy.DisableHTTPProxy ( )
static

Disables the proxy server for HTTP connections.

◆ DisableHTTPSProxy()

static void Crosstales.OnlineCheck.Tool.Proxy.DisableHTTPSProxy ( )
static

Disables the proxy server for HTTPS connections.

◆ EnableHTTPProxy() [1/2]

void Crosstales.OnlineCheck.Tool.Proxy.EnableHTTPProxy ( )

Enables or disables a proxy server for HTTPS connections with the current instance variables as parameters.

◆ EnableHTTPProxy() [2/2]

static void Crosstales.OnlineCheck.Tool.Proxy.EnableHTTPProxy ( string  url,
int  port,
string  username = "",
string  password = "",
string  urlProtocol = "" 
)
static

Enables or disables a proxy server for HTTP connections.

Parameters
urlURL (without protocol) or IP of the proxy server
portPort of the proxy server
username"Username for the proxy server (optional)</param> <param name="password">Password for the proxy server (optional)</param> <param name="urlProtocol">Protocol (e.g. 'http://') for the proxy server (optional)

◆ EnableHTTPSProxy() [1/2]

void Crosstales.OnlineCheck.Tool.Proxy.EnableHTTPSProxy ( )

Enables or disables a proxy server for HTTPS connections with the current instance variables as parameters.

◆ EnableHTTPSProxy() [2/2]

static void Crosstales.OnlineCheck.Tool.Proxy.EnableHTTPSProxy ( string  url,
int  port,
string  username = "",
string  password = "",
string  urlProtocol = "" 
)
static

Enables or disables a proxy server for HTTPS connections.

Parameters
urlURL (without protocol) or IP of the proxy server
portPort of the proxy server
username"Username for the proxy server (optional)</param> <param name="password">Password for the proxy server (optional)</param> <param name="urlProtocol">Protocol (e.g. 'http://') for the proxy server (optional)

Member Data Documentation

◆ EnableOnAwake

bool Crosstales.OnlineCheck.Tool.Proxy.EnableOnAwake

Enable the proxy on awake (default: false).

◆ HTTPProxyPassword

string Crosstales.OnlineCheck.Tool.Proxy.HTTPProxyPassword = string.Empty

Password for the proxy server (optional).

◆ HTTPProxyPort

int Crosstales.OnlineCheck.Tool.Proxy.HTTPProxyPort = 8080

Port of the proxy server.

◆ HTTPProxyURL

string Crosstales.OnlineCheck.Tool.Proxy.HTTPProxyURL

URL (without protocol) or IP of the proxy server.

◆ HTTPProxyURLProtocol

string Crosstales.OnlineCheck.Tool.Proxy.HTTPProxyURLProtocol = string.Empty

Protocol (e.g. 'http://') for the proxy server (optional).

◆ HTTPProxyUsername

string Crosstales.OnlineCheck.Tool.Proxy.HTTPProxyUsername = string.Empty

Username for the proxy server (optional).

◆ HTTPSProxyPassword

string Crosstales.OnlineCheck.Tool.Proxy.HTTPSProxyPassword = string.Empty

Password for the proxy server (optional).

◆ HTTPSProxyPort

int Crosstales.OnlineCheck.Tool.Proxy.HTTPSProxyPort = 8443

Port of the proxy server.

◆ HTTPSProxyURL

string Crosstales.OnlineCheck.Tool.Proxy.HTTPSProxyURL

URL (without protocol) or IP of the proxy server.

◆ HTTPSProxyURLProtocol

string Crosstales.OnlineCheck.Tool.Proxy.HTTPSProxyURLProtocol = string.Empty

Protocol (e.g. 'http://') for the proxy server (optional).

◆ HTTPSProxyUsername

string Crosstales.OnlineCheck.Tool.Proxy.HTTPSProxyUsername = string.Empty

Username for the proxy server (optional).

Property Documentation

◆ hasHTTPProxy

bool Crosstales.OnlineCheck.Tool.Proxy.hasHTTPProxy
staticget

Is HTTP-proxy enabled?

Returns
True if the HTTP-proxy is enabled.

◆ hasHTTPSProxy

bool Crosstales.OnlineCheck.Tool.Proxy.hasHTTPSProxy
staticget

Is HTTPS-proxy enabled?

Returns
True if the HTTPS-proxy is enabled.

The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/OnlineCheck/OnlineCheckPro/Assets/Plugins/crosstales/OnlineCheck/Extras/Proxy/Scripts/Proxy.cs