AngleSharp by AngleSharp

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

 BaseLinkRelation

abstract class BaseLinkRelation
Base type for the all link rel field types.
public HtmlLinkElement Link { get; }

Gets the link element.

public Url Url { get; }

Gets the url of the link element's address.

public void Cancel()

Cancels the outstanding download, if any.

public abstract Task LoadAsync(IConfiguration configuration, IResourceLoader loader)

Loads the content of the relation asynchronously.

protected void SetDownload(IDownload download)