CorsIssueDetails class

Details for a CORS related issue, e.g. a warning or error related to CORS RFC1918 enforcement.

Constructors

CorsIssueDetails({required CorsErrorStatus corsErrorStatus, required bool isWarning, required AffectedRequest request, SourceCodeLocation? location, String? initiatorOrigin, IPAddressSpace? resourceIPAddressSpace, ClientSecurityState? clientSecurityState})
CorsIssueDetails.fromJson(Map<String, dynamic> json)
factory

Properties

clientSecurityState → ClientSecurityState?
final
corsErrorStatus → CorsErrorStatus
final
hashCode → int
The hash code for this object.
no setterinherited
initiatorOrigin → String?
final
isWarning → bool
final
location → SourceCodeLocation?
final
request → AffectedRequest
final
resourceIPAddressSpace → IPAddressSpace?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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