Class HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler (1.68.0)

public sealed class HttpClientFromMessageHandlerFactory.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, bool, bool)

public ConfiguredHttpMessageHandler(HttpMessageHandler messageHandler, bool performsAutomaticDecompression, bool handlesRedirect)
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

Extension Method