1.73.0 (latest) 1.69.0 1.68.0 1.60.0 1.59.0 1.55.0 1.50.0

    public sealed class HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler

Represents the already configured [HttpMessageHandler](https://learn.microsoft.com/dotnet/api/system.net.http.httpmessagehandler) to be used
when building a [ConfigurableHttpClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Http.ConfigurableHttpClient.md.txt) by the factory and
information about the actual configuration.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler

## Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Apis.Http](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Http.md.txt)

## Assembly

Google.Apis.Core.dll

## Constructors

### ConfiguredHttpMessageHandler(HttpMessageHandler, bool, bool)

    public ConfiguredHttpMessageHandler(HttpMessageHandler messageHandler, bool performsAutomaticDecompression, bool handlesRedirect)

Builds a new [HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Http.HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler.md.txt) with the given parameters.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `messageHandler` | `HttpMessageHandler` |
| `performsAutomaticDecompression` | `bool` |
| `handlesRedirect` | `bool` |

## Properties

### HandlesRedirects

    public bool HandlesRedirects { get; }

Whether [MessageHandler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Http.HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler.md.txt#Google_Apis_Http_HttpClientFromMessageHandlerFactory_ConfiguredHttpMessageHandler_MessageHandler) is configured
to handle redirects or not.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### MessageHandler

    public HttpMessageHandler MessageHandler { get; }

The already configured [HttpMessageHandler](https://learn.microsoft.com/dotnet/api/system.net.http.httpmessagehandler) to be used
when building a [ConfigurableHttpClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Http.ConfigurableHttpClient.md.txt) by the factory.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HttpMessageHandler` |   |

### PerformsAutomaticDecompression

    public bool PerformsAutomaticDecompression { get; }

Whether [MessageHandler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Http.HttpClientFromMessageHandlerFactory.ConfiguredHttpMessageHandler.md.txt#Google_Apis_Http_HttpClientFromMessageHandlerFactory_ConfiguredHttpMessageHandler_MessageHandler) is configured
to perform automatic decompression or not.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

## Extension Method

[Utilities.ThrowIfNull\<T\>(T, string)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities.md.txt#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)