Class IConfigExtensions
Extension methods for IConfig.
public static class IConfigExtensions
- Inheritance
-
IConfigExtensions
- Inherited Members
Methods
Configure(IConfig, HttpClient, string)
Configure the provided HttpClient using the configuration settings in the IConfig instance.
public static void Configure(this IConfig config, HttpClient httpClient, string userAgent)
Parameters
config
IConfigThe configuration settings.
httpClient
HttpClientAn HTTP client to configure.
userAgent
stringThe User-agent string to use for outgoing requests.