Soenneker.Make.HttpClients
11.0.216
Prefix Reserved
dotnet add package Soenneker.Make.HttpClients --version 11.0.216
NuGet\Install-Package Soenneker.Make.HttpClients -Version 11.0.216
<PackageReference Include="Soenneker.Make.HttpClients" Version="11.0.216" />
<PackageVersion Include="Soenneker.Make.HttpClients" Version="11.0.216" />
<PackageReference Include="Soenneker.Make.HttpClients" />
paket add Soenneker.Make.HttpClients --version 11.0.216
#r "nuget: Soenneker.Make.HttpClients, 11.0.216"
#:package Soenneker.Make.HttpClients@11.0.216
#addin nuget:?package=Soenneker.Make.HttpClients&version=11.0.216
#tool nuget:?package=Soenneker.Make.HttpClients&version=11.0.216
Soenneker.Make.HttpClients
Provides cached, authenticated HttpClient instances for the Make API.
Install
dotnet add package Soenneker.Make.HttpClients
Configuration
{
"Make": {
"ApiKey": "your-api-key",
"ClientBaseUrl": "https://us1.make.com/api/v2"
}
}
ClientBaseUrl is optional and defaults to Make's us1 API. Store the API key in a secret provider rather than committed configuration.
Usage
using Microsoft.Extensions.DependencyInjection;
using Soenneker.Make.HttpClients.Abstract;
using Soenneker.Make.HttpClients.Registrars;
services.AddMakeOpenApiHttpClientAsSingleton();
IMakeOpenApiHttpClient factory =
serviceProvider.GetRequiredService<IMakeOpenApiHttpClient>();
HttpClient client = await factory.Get(cancellationToken);
HttpResponseMessage response = await client.GetAsync("users/me", cancellationToken);
response.EnsureSuccessStatusCode();
Use Get(apiKey) to select credentials per call, or Get(apiKey, baseUrl) for a different Make region. The same credential, base URL, and authentication configuration reuse the same cached client.
Client reuse
- Do not dispose a returned
HttpClient; its lifetime is owned by the registered wrapper/cache. - Calls using the same API key, base URL, header name, and header template reuse one client.
- Singleton registration shares cached clients application-wide. Scoped registration owns a scoped cache and removes its clients when the scope ends.
Make:AuthHeaderNameandMake:AuthHeaderValueTemplatecan override authentication for a compatible gateway. The template must contain{token}if the key should be sent.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.921)
- Soenneker.Hashing.XxHash (>= 11.0.149)
- Soenneker.Utils.HttpClientCache (>= 11.0.2188)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Make.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Make.OpenApiClientUtil
Creates and caches authenticated Make API clients for one or more connections. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.216 | 72 | 12/3/2026 |
| 11.0.215 | 48 | 12/3/2026 |
| 11.0.214 | 63 | 12/3/2026 |
| 11.0.213 | 60 | 12/3/2026 |
| 11.0.212 | 60 | 12/3/2026 |
| 11.0.211 | 60 | 12/2/2026 |
| 11.0.210 | 58 | 12/2/2026 |
| 11.0.209 | 53 | 12/2/2026 |
| 11.0.208 | 61 | 12/2/2026 |
| 11.0.207 | 52 | 12/2/2026 |
| 11.0.206 | 118 | 12/2/2026 |
| 11.0.205 | 77 | 12/2/2026 |
| 11.0.204 | 90 | 12/2/2026 |
| 11.0.203 | 105 | 12/1/2026 |
| 11.0.202 | 105 | 12/1/2026 |
| 11.0.201 | 106 | 12/1/2026 |
| 11.0.200 | 105 | 12/1/2026 |
| 11.0.199 | 96 | 12/1/2026 |
| 11.0.198 | 107 | 11/30/2026 |
| 11.0.197 | 91 | 11/30/2026 |
Updated Multiple NuGet packages