Table of Contents

Class ResourceRequest

Namespace
AngleSharp.Io
Assembly
AngleSharp.dll

Represents the arguments to load a resource.

public class ResourceRequest
Inheritance
ResourceRequest
Inherited Members
Extension Methods

Constructors

ResourceRequest(IElement, Url)

Creates a new resource request for the given url.

public ResourceRequest(IElement source, Url target)

Parameters

source IElement

The request's source.

target Url

The resource's url.

Properties

IsCookieBlocked

Gets or sets if the block cookies flag is active.

public bool IsCookieBlocked { get; set; }

Property Value

bool

IsCredentialOmitted

Gets or sets if the omit credentials flag is active.

public bool IsCredentialOmitted { get; set; }

Property Value

bool

IsManualRedirectDesired

Gets or sets if the manual redirect flag is active.

public bool IsManualRedirectDesired { get; set; }

Property Value

bool

IsSameOriginForced

Gets or sets if the force same origin flag is active.

public bool IsSameOriginForced { get; set; }

Property Value

bool

Origin

Gets or sets the origin of the request, if any.

public string? Origin { get; set; }

Property Value

string

Source

Gets the source of the request.

public IElement Source { get; }

Property Value

IElement

Target

Gets the target of the request.

public Url Target { get; }

Property Value

Url