Table of Contents

Class ProxyEndPointDefaults

Namespace
VpnHood.Core.Proxies.Management.Abstractions
Assembly
VpnHood.Core.Proxies.Management.Abstractions.dll

Provides the values ParseHostToUrl(string, ProxyEndPointDefaults?) uses for the parts a proxy's address leaves out; null leaves a part out, or, for the port, to the protocol's default. A scheme must come from the address or from here.

public class ProxyEndPointDefaults
Inheritance
ProxyEndPointDefaults
Inherited Members

Properties

IsEnabled

Gets or sets whether the endpoint is enabled; false marks it disabled.

public bool? IsEnabled { get; set; }

Property Value

bool?

Password

Gets or sets the password, for an address with none.

public string? Password { get; set; }

Property Value

string

Port

Gets or sets the port, for an address with no port of its own or with its scheme's standard one, as 80 for http.

public int? Port { get; set; }

Property Value

int?

Protocol

Gets or sets the protocol, for an address with no scheme.

public ProxyProtocol? Protocol { get; set; }

Property Value

ProxyProtocol?

Username

Gets or sets the user name, for an address with none.

public string? Username { get; set; }

Property Value

string