SecFetchSiteHeader class final

A class representing the HTTP Sec-Fetch-Site header.

This header indicates the relationship between the origin of the request initiator and the origin of the requested resource.

Constructors

SecFetchSiteHeader.parse(String value)
Parses a value into a SecFetchSiteHeader. A value outside the predefined set is rejected; new Fetch values are adopted by updating the set in a relic release rather than accepted ad hoc.
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
site → String
The site value of the request.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override