AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.6" />

 BaseLoader

public abstract class BaseLoader : ILoader
Represents the base class for all loaders.
public BaseLoader(IEnumerable<IRequester> requesters, IBrowsingContext context, Predicate<IRequest> filter)

Creates a new resource loader.

protected virtual void Add(IDownload download)

Adds the download to the active downloads.

protected virtual IDownload DownloadAsync(Request request, INode originator)

Starts downloading the request.

protected virtual string GetCookie(Url url)

Gets the cookie string for the given URL.

Gets the active downloads.

protected Task<IResponse> LoadAsync(Request request, CancellationToken cancel)

Loads the given URI by using an asynchronous request.

protected virtual void Remove(IDownload download)

Removes the download from the active downloads.