Table of Contents

Class CorsRequest

Namespace
AngleSharp.Io
Assembly
AngleSharp.dll

Represents the arguments to perform a fetch with CORS.

public class CorsRequest
Inheritance
CorsRequest
Inherited Members
Extension Methods

Constructors

CorsRequest(ResourceRequest)

Creates a new CORS enabled request.

public CorsRequest(ResourceRequest request)

Parameters

request ResourceRequest

The original request.

Properties

Behavior

Gets or sets the behavior in case of no CORS.

public OriginBehavior Behavior { get; set; }

Property Value

OriginBehavior

Integrity

Gets or sets the integrity provider, if any.

public IIntegrityProvider? Integrity { get; set; }

Property Value

IIntegrityProvider

Request

Gets the original request to perform.

public ResourceRequest Request { get; }

Property Value

ResourceRequest

Setting

Gets or sets the CORS settings to use.

public CorsSetting Setting { get; set; }

Property Value

CorsSetting