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