public sealed class ConfiguredHttpMessageHandler : object
Represents the already configured to be used when building a ConfigurableHttpClient by the factory and information about the actual configuration.
Namespace
Google.Apis.HttpAssembly
Google.Apis.Core.dll
Constructors
ConfiguredHttpMessageHandler(HttpMessageHandler, Boolean, Boolean)
public ConfiguredHttpMessageHandler(HttpMessageHandler messageHandler, bool performsAutomaticDecompression, bool handlesRedirect)
Builds a new HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler with the given parameters.
Parameters | |
---|---|
Name | Description |
messageHandler | HttpMessageHandler |
performsAutomaticDecompression | Boolean |
handlesRedirect | Boolean |
Properties
HandlesRedirects
public bool HandlesRedirects { get; }
Whether MessageHandler is configured to handle redirects or not.
Property Value | |
---|---|
Type | Description |
Boolean |
MessageHandler
public HttpMessageHandler MessageHandler { get; }
The already configured to be used when building a ConfigurableHttpClient by the factory.
Property Value | |
---|---|
Type | Description |
HttpMessageHandler |
PerformsAutomaticDecompression
public bool PerformsAutomaticDecompression { get; }
Whether MessageHandler is configured to perform automatic decompression or not.
Property Value | |
---|---|
Type | Description |
Boolean |