Class HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler (1.50.0)

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.

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 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