Class HttpClientFromMessageHandlerFactory.HttpMessageHandlerOptions (1.50.0)

public sealed class HttpMessageHandlerOptions : object

Specifies the configuration options for a message handler.

Inheritance

Object > HttpClientFromMessageHandlerFactory.HttpMessageHandlerOptions

Namespace

Google.Apis.Http

Assembly

Google.Apis.Core.dll

Properties

MayHandleRedirects

public bool MayHandleRedirects { get; }

Whether the message handler built from these options may handle redirects or not. Redirects that are not handled should bubble up the handlers chain. If set to true, the message handler may or may not handle redirects. If set to false, the message handler must not handle redirects.

Property Value
TypeDescription
Boolean

MayPerformDecompression

public bool MayPerformDecompression { get; }

Whether the message handler built from these options may perform automatic decompression or not. If set to true, the message handler may or may not perform automatic decompression. If set to false, the message handler must not perform automatic decompression.

Property Value
TypeDescription
Boolean

Extension Method