AngleSharp by AngleSharp

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

.NET API 1,232,384 bytes

 RequesterExtensions

static class RequesterExtensions
Useful extensions for IRequester objects.
public static Task<IResponse> FetchAsync(this IResourceLoader loader, ResourceRequest request)

Performs a fetch from the given URI by using an asynchronous request.

public static Task<IResponse> FetchWithCorsAsync(this IResourceLoader loader, ResourceRequest request, CorsSetting setting, OriginBehavior behavior)

Performs a potentially CORS-enabled fetch from the given URI by using an asynchronous GET request. For more information see: http://www.w3.org/TR/html5/infrastructure.html#potentially-cors-enabled-fetch

public static Task<IResponse> SendAsync(this IDocumentLoader loader, DocumentRequest request, CancellationToken cancel)

Loads the given URI by using an asynchronous request with the given method and body.