public sealed class ConfiguredHttpMessageHandler
Represents the already configured HttpMessageHandler 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 HttpMessageHandler 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 |