Skip to main content

AxiosProxy Class

Axios.Net › AxiosNet.Config

Proxy settings of a request.

public class AxiosProxy

Inheritance System.Object → AxiosProxy

Fields​

AxiosProxy.Disabled Field​

Pass as Proxy to ignore system and environment proxies.

public static readonly AxiosProxy Disabled;

Field Value​

AxiosProxy

Properties​

AxiosProxy.Auth Property​

User name and password sent to the proxy, when it requires them.

public System.Nullable<(string Username,string Password)> Auth { get; set; }

Property Value​

System.Nullable<<System.String,System.String>>

AxiosProxy.Host Property​

Proxy host name or address.

public string Host { get; set; }

Property Value​

System.String

AxiosProxy.Port Property​

Proxy port.

public int Port { get; set; }

Property Value​

System.Int32

AxiosProxy.Protocol Property​

Proxy scheme, such as http.

public string Protocol { get; set; }

Property Value​

System.String