Table of Contents

Class HttpAccessManagerOptions

Namespace
VpnHood.Core.Server.Access.Managers.HttpAccessManagers
Assembly
VpnHood.Core.Server.Access.dll

Represents where an HTTP access manager is, and how the server proves itself to it.

public class HttpAccessManagerOptions
Inheritance
HttpAccessManagerOptions
Inherited Members

Constructors

HttpAccessManagerOptions(Uri, string)

Initializes a new instance of the HttpAccessManagerOptions class.

public HttpAccessManagerOptions(Uri baseUrl, string authorization)

Parameters

baseUrl Uri

The access manager's address, of which its scheme, host and port are used.

authorization string

The value of the Authorization header, as a scheme and its credentials.

Exceptions

ArgumentNullException

authorization is null or empty.

Properties

Authorization

Gets or sets the value of the Authorization header, as a scheme and its credentials; one that does not parse is not sent.

public string Authorization { get; set; }

Property Value

string

BaseUrl

Gets or sets the access manager's address, of which its scheme, host and port are used.

public Uri BaseUrl { get; set; }

Property Value

Uri