C# Class AngleSharp.IoConfigurationExtensions

Additional extensions for improved requesters.
Exibir arquivo Open project: AngleSharp/AngleSharp.Io

Public Methods

Method Description
WithRequesters ( this configuration, Action setup = null ) : IConfiguration

Adds a loader service that comes with all (improved) requesters.

WithRequesters ( this configuration, HttpMessageHandler httpMessageHandler, Action setup = null ) : IConfiguration

Adds a loader service that comes with all (improved) requesters.

Method Details

WithRequesters() public static method

Adds a loader service that comes with all (improved) requesters.
public static WithRequesters ( this configuration, Action setup = null ) : IConfiguration
configuration this The configuration to use.
setup Action Optional setup for the loader service.
return IConfiguration

WithRequesters() public static method

Adds a loader service that comes with all (improved) requesters.
public static WithRequesters ( this configuration, HttpMessageHandler httpMessageHandler, Action setup = null ) : IConfiguration
configuration this The configuration to use.
httpMessageHandler System.Net.Http.HttpMessageHandler /// The HTTP handler stack to use for sending requests. ///
setup Action Optional setup for the loader service.
return IConfiguration