Class TimingAllowOriginHeaderValue
Represents value of Timing-Allow-Origin header.
Inheritance
System.Object
TimingAllowOriginHeaderValue
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.ServerTiming.Http.Headers
Assembly: Lib.ServerTiming.Abstractions.dll
Syntax
public class TimingAllowOriginHeaderValue
Constructors
TimingAllowOriginHeaderValue()
Instantiates a new TimingAllowOriginHeaderValue.
Declaration
public TimingAllowOriginHeaderValue()
TimingAllowOriginHeaderValue(ICollection<String>)
Instantiates a new TimingAllowOriginHeaderValue.
Declaration
public TimingAllowOriginHeaderValue(ICollection<string> origins)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<System.String> | origins | The collection of origins that are allowed to see values from timing APIs. |
TimingAllowOriginHeaderValue(String[])
Instantiates a new TimingAllowOriginHeaderValue.
Declaration
public TimingAllowOriginHeaderValue(params string[] origins)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | origins | The origins that are allowed to see values from timing APIs. |
Properties
Origins
Gets the collection of origins that are allowed to see values from timing APIs.
Declaration
public ICollection<string> Origins { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<System.String> |
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()