public sealed class HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandlerRepresents 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, bool, bool)
public ConfiguredHttpMessageHandler(HttpMessageHandler messageHandler, bool performsAutomaticDecompression, bool handlesRedirect)Builds a new HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler with the given parameters.
| Parameters | |
|---|---|
| Name | Description |
messageHandler |
HttpMessageHandler |
performsAutomaticDecompression |
bool |
handlesRedirect |
bool |
Properties
HandlesRedirects
public bool HandlesRedirects { get; }Whether MessageHandler is configured to handle redirects or not.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
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 |
bool |
|