Soenneker.Sixtyfour.HttpClients
11.0.179
Prefix Reserved
dotnet add package Soenneker.Sixtyfour.HttpClients --version 11.0.179
NuGet\Install-Package Soenneker.Sixtyfour.HttpClients -Version 11.0.179
<PackageReference Include="Soenneker.Sixtyfour.HttpClients" Version="11.0.179" />
<PackageVersion Include="Soenneker.Sixtyfour.HttpClients" Version="11.0.179" />
<PackageReference Include="Soenneker.Sixtyfour.HttpClients" />
paket add Soenneker.Sixtyfour.HttpClients --version 11.0.179
#r "nuget: Soenneker.Sixtyfour.HttpClients, 11.0.179"
#:package Soenneker.Sixtyfour.HttpClients@11.0.179
#addin nuget:?package=Soenneker.Sixtyfour.HttpClients&version=11.0.179
#tool nuget:?package=Soenneker.Sixtyfour.HttpClients&version=11.0.179
Soenneker.Sixtyfour.HttpClients
Provides a reusable HttpClient configured for Sixtyfour's people and company enrichment API with bearer-token authentication.
Installation
dotnet add package Soenneker.Sixtyfour.HttpClients
Configuration
{
"Sixtyfour": {
"ApiKey": "your-sixtyfour-api-key"
}
}
Sixtyfour:ClientBaseUrl, Sixtyfour:AuthHeaderName, and Sixtyfour:AuthHeaderValueTemplate can override the defaults. The value template must contain {token}.
Usage
using Soenneker.Sixtyfour.HttpClients.Abstract;
using Soenneker.Sixtyfour.HttpClients.Registrars;
services.AddSixtyfourOpenApiHttpClientAsSingleton();
public sealed class SixtyfourBalanceReader
{
private readonly ISixtyfourOpenApiHttpClient _sixtyfour;
public SixtyfourBalanceReader(ISixtyfourOpenApiHttpClient sixtyfour)
{
_sixtyfour = sixtyfour;
}
public async Task<HttpResponseMessage> GetBalance(CancellationToken cancellationToken)
{
HttpClient client = await _sixtyfour.Get(cancellationToken);
return await client.GetAsync("check-balance", cancellationToken);
}
}
The provider owns the cached HttpClient; disposing the provider removes and disposes that client. Scoped registration creates an independently owned client for each scope.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.919)
- Soenneker.Utils.HttpClientCache (>= 11.0.2164)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Sixtyfour.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Sixtyfour.OpenApiClientUtil
Provides a lazily initialized, authenticated Sixtyfour enrichment API client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.179 | 91 | 11/19/2026 |
| 11.0.177 | 71 | 11/18/2026 |
| 11.0.174 | 67 | 11/18/2026 |
| 11.0.173 | 159 | 11/15/2026 |
| 11.0.172 | 107 | 11/15/2026 |
| 11.0.171 | 152 | 11/11/2026 |
| 11.0.170 | 109 | 11/11/2026 |
| 11.0.169 | 108 | 11/11/2026 |
| 11.0.168 | 124 | 11/11/2026 |
| 11.0.167 | 93 | 11/11/2026 |
| 11.0.166 | 246 | 11/3/2026 |
| 11.0.165 | 107 | 11/3/2026 |
| 11.0.164 | 104 | 11/3/2026 |
| 11.0.163 | 113 | 11/3/2026 |
| 11.0.162 | 109 | 11/3/2026 |
| 11.0.161 | 205 | 10/27/2026 |
| 11.0.160 | 133 | 10/27/2026 |
| 11.0.158 | 126 | 10/26/2026 |
| 11.0.157 | 141 | 10/26/2026 |
| 4.0.156 | 161 | 10/15/2026 |
Updated Multiple NuGet packages