AngleSharp by Florian Rappl

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

 ConfigurationExtensions

Represents a helper to construct objects with externally defined classes and libraries.
public static Encoding DefaultEncoding(this IConfiguration configuration)

Gets the default encoding for the given configuration.

public static IScriptEngine GetScriptEngine(this IConfiguration configuration, string type)

Tries to resolve a script engine for the given type name.

public static IStyleEngine GetStyleEngine(this IConfiguration configuration, string type)

Tries to resolve a style engine for the given type name.

public static Task<Stream> LoadAsync(this IConfiguration configuration, Uri url)

Loads the given URI by using an asynchronous GET request.

public static Task<Stream> LoadAsync(this IConfiguration configuration, string url)

Loads the given URI by using an asynchronous GET request.

public static Task<Stream> LoadAsync(this IConfiguration configuration, string url, CancellationToken cancel, bool force = false)

Loads the given URI by using an asynchronous GET request.

public static Task<Stream> LoadAsync(this IConfiguration configuration, Uri url, CancellationToken cancel, bool force = false)

Loads the given URI by using an asynchronous GET request.

public static IStyleSheet ParseStyling(this IConfiguration configuration, string source, IElement owner = null, string type = null)

Parses the given source code by using the supplied type name (otherwise it is text/css) and returns the created stylesheet.

public static IStyleSheet ParseStyling(this IConfiguration configuration, Stream source, IElement owner = null, string type = null)

Parses the given source code by using the supplied type name (otherwise it is text/css) and returns the created stylesheet.

public static void RunScript(this IConfiguration configuration, string source, ScriptOptions options, string type = null)

Parses the given source code by using the supplied type name (otherwise it is text/css) and returns the created stylesheet.

public static void RunScript(this IConfiguration configuration, Stream source, ScriptOptions options, string type = null)

Parses the given source code by using the supplied type name (otherwise it is text/css) and returns the created stylesheet.

public static Task<Stream> SendAsync(this IConfiguration configuration, Uri url, Stream content = null, string mimeType = null, HttpMethod method = 1)

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

public static Task<Stream> SendAsync(this IConfiguration configuration, Uri url, Stream content, string mimeType, HttpMethod method, CancellationToken cancel, bool force = false)

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