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
baseUrlUriThe access manager's address, of which its scheme, host and port are used.
authorizationstringThe value of the Authorization header, as a scheme and its credentials.
Exceptions
- ArgumentNullException
authorizationis 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
BaseUrl
Gets or sets the access manager's address, of which its scheme, host and port are used.
public Uri BaseUrl { get; set; }