1.73.0 (latest) 1.69.0 1.68.0 1.60.0 1.59.0 1.55.0 1.50.0

    public interface IHttpClientFactory

HTTP client factory creates configurable HTTP clients. A unique HTTP client should be created for each service.

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

## Methods

### CreateHttpClient(CreateHttpClientArgs)

    ConfigurableHttpClient CreateHttpClient(CreateHttpClientArgs args)

Creates a new configurable HTTP client.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `args` | `CreateHttpClientArgs` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ConfigurableHttpClient` |   |

## 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_)