Class HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler (1.59.0)

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.

Inheritance

Object > HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler

Namespace

Google.Apis.Http

Assembly

Google.Apis.Core.dll

Constructors

ConfiguredHttpMessageHandler(HttpMessageHandler, Boolean, Boolean)

public ConfiguredHttpMessageHandler(HttpMessageHandler messageHandler, bool performsAutomaticDecompression, bool handlesRedirect)
Parameters
NameDescription
messageHandlerHttpMessageHandler
performsAutomaticDecompressionBoolean
handlesRedirectBoolean

Properties

HandlesRedirects

public bool HandlesRedirects { get; }

Whether MessageHandler is configured to handle redirects or not.

Property Value
TypeDescription
Boolean

MessageHandler

public HttpMessageHandler MessageHandler { get; }

The already configured HttpMessageHandler to be used when building a ConfigurableHttpClient by the factory.

Property Value
TypeDescription
HttpMessageHandler

PerformsAutomaticDecompression

public bool PerformsAutomaticDecompression { get; }

Whether MessageHandler is configured to perform automatic decompression or not.

Property Value
TypeDescription
Boolean

Extension Method