AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.0.4-alpha-301" />

 BaseRequestProcessor

public abstract class BaseRequestProcessor : IRequestProcessor
Basic implementation of a request processor.
public IDownload Download { get; protected set; }

Gets the associated download.

public bool IsAvailable { get; }

Gets the status if downloads can be created.

Creates a new request processor.

protected void CancelDownload()

Cancels the current download, if any.

Fetches the given request with CORS.

Finishes the download.

protected bool IsDifferentToCurrentDownloadUrl(Url target)

Checks if the given target is different than the current download.

public virtual Task ProcessAsync(ResourceRequest request)

Processes the given request asynchronously.

protected abstract Task ProcessResponseAsync(IResponse response)

Processes the response.