Report Class
The application-exposed representation of a report (https://w3c.github.io/reporting/#dictdef-report), given to the callback of a ReportingObserver.
public sealed class ReportConstructors
| Name | Description |
|---|---|
| Report() |
Report()
Report.cspublic Report()No documentation is available.
Properties
| Name | Description |
|---|---|
| Body | Gets the body of the report, whose members depend on its type, or null. |
| Type | Gets the type of the report (e.g. csp-violation). |
| Url | Gets the URL of the document or worker that generated the report, without its credentials and its fragment. |
Body
Report.csGets the body of the report, whose members depend on its type, or null.
public ReportBody? Body { get; init; }Type
Report.csGets the type of the report (e.g. csp-violation).
public string Type { get; init; }Url
Report.csGets the URL of the document or worker that generated the report, without its credentials and its fragment.
public string Url { get; init; }