Docs · API reference · Motus.Abstractions

ProxySettings Class#

Proxy server configuration.

public sealed record ProxySettings : System.IEquatable<Motus.Abstractions.ProxySettings>

Inheritance System.Object → ProxySettings

Implements System.IEquatable<ProxySettings>

Constructors#

ProxySettings(string, string, string, string) Constructor#

Proxy server configuration.

public ProxySettings(string Server, string? Bypass=null, string? Username=null, string? Password=null);

Parameters#

Server System.String

The proxy server URL.

Bypass System.String

Comma-separated list of domains to bypass the proxy.

Username System.String

The proxy authentication username.

Password System.String

The proxy authentication password.

Properties#

Bypass Property#

Comma-separated list of domains to bypass the proxy.

public string? Bypass { get; init; }

Property Value#

System.String

Password Property#

The proxy authentication password.

public string? Password { get; init; }

Property Value#

System.String

Server Property#

The proxy server URL.

public string Server { get; init; }

Property Value#

System.String

Username Property#

The proxy authentication username.

public string? Username { get; init; }

Property Value#

System.String