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
Properties
IsCookieBlocked
Gets or sets if the block cookies flag is active.
public bool IsCookieBlocked { get; set; }
Property Value
IsCredentialOmitted
Gets or sets if the omit credentials flag is active.
public bool IsCredentialOmitted { get; set; }
Property Value
IsManualRedirectDesired
Gets or sets if the manual redirect flag is active.
public bool IsManualRedirectDesired { get; set; }
Property Value
IsSameOriginForced
Gets or sets if the force same origin flag is active.
public bool IsSameOriginForced { get; set; }
Property Value
Origin
Gets or sets the origin of the request, if any.
public string? Origin { get; set; }
Property Value
Source
Gets the source of the request.
public IElement Source { get; }
Property Value
Target
Gets the target of the request.
public Url Target { get; }