Class ReferrerPolicyHeaderValue
Represents value of Referrer-Policy header.
Inheritance
System.Object
ReferrerPolicyHeaderValue
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lib.AspNetCore.Security.Http.Headers
Assembly: Lib.AspNetCore.Security.dll
Syntax
public class ReferrerPolicyHeaderValue
Constructors
ReferrerPolicyHeaderValue(ReferrerPolicyDirectives)
Instantiates a new ReferrerPolicyHeaderValue.
Declaration
public ReferrerPolicyHeaderValue(ReferrerPolicyDirectives directive)
Parameters
Type | Name | Description |
---|---|---|
ReferrerPolicyDirectives | directive | The directive. |
Properties
Directive
Gets or sets the directive.
Declaration
public ReferrerPolicyDirectives Directive { get; set; }
Property Value
Type | Description |
---|---|
ReferrerPolicyDirectives |
Methods
ToString()
Gets the string representation of header value.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The string representation of header value. |
Overrides
System.Object.ToString()