Soenneker.Shippo.HttpClients
4.0.152
Prefix Reserved
dotnet add package Soenneker.Shippo.HttpClients --version 4.0.152
NuGet\Install-Package Soenneker.Shippo.HttpClients -Version 4.0.152
<PackageReference Include="Soenneker.Shippo.HttpClients" Version="4.0.152" />
<PackageVersion Include="Soenneker.Shippo.HttpClients" Version="4.0.152" />
<PackageReference Include="Soenneker.Shippo.HttpClients" />
paket add Soenneker.Shippo.HttpClients --version 4.0.152
#r "nuget: Soenneker.Shippo.HttpClients, 4.0.152"
#:package Soenneker.Shippo.HttpClients@4.0.152
#addin nuget:?package=Soenneker.Shippo.HttpClients&version=4.0.152
#tool nuget:?package=Soenneker.Shippo.HttpClients&version=4.0.152
Soenneker.Shippo.HttpClients
Provides a reusable HttpClient configured with Shippo's API base address and token authentication.
Installation
dotnet add package Soenneker.Shippo.HttpClients
Configuration
{
"Shippo": {
"ApiKey": "your-shippo-token"
}
}
Shippo:ClientBaseUrl, Shippo:AuthHeaderName, and Shippo:AuthHeaderValueTemplate can override the defaults when needed. The value template must contain {token}.
Usage
using Soenneker.Shippo.HttpClients.Abstract;
using Soenneker.Shippo.HttpClients.Registrars;
services.AddShippoOpenApiHttpClientAsSingleton();
public sealed class ShippoRequestSender
{
private readonly IShippoOpenApiHttpClient _shippo;
public ShippoRequestSender(IShippoOpenApiHttpClient shippo)
{
_shippo = shippo;
}
public async Task<HttpResponseMessage> GetCarrierAccounts(CancellationToken cancellationToken)
{
HttpClient client = await _shippo.Get(cancellationToken);
return await client.GetAsync("carrier_accounts", 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 | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Extensions.Configuration (>= 4.0.910)
- Soenneker.Utils.HttpClientCache (>= 4.0.2128)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Shippo.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Shippo.OpenApiClientUtil
Provides a lazily initialized, authenticated Shippo API client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.152 | 113 | 10/15/2026 |
| 4.0.151 | 81 | 10/15/2026 |
| 4.0.149 | 109 | 10/14/2026 |
| 4.0.147 | 93 | 10/14/2026 |
| 4.0.146 | 83 | 10/14/2026 |
| 4.0.145 | 98 | 10/14/2026 |
| 4.0.138 | 112 | 10/13/2026 |
| 4.0.134 | 127 | 10/12/2026 |
| 4.0.133 | 92 | 10/11/2026 |
| 4.0.132 | 87 | 10/11/2026 |
| 4.0.131 | 84 | 10/11/2026 |
| 4.0.130 | 136 | 10/9/2026 |
| 4.0.129 | 126 | 10/1/2026 |
| 4.0.128 | 126 | 9/29/2026 |
| 4.0.127 | 107 | 9/29/2026 |
| 4.0.126 | 117 | 9/26/2026 |
| 4.0.125 | 110 | 9/25/2026 |
| 4.0.124 | 112 | 9/25/2026 |
| 4.0.123 | 108 | 9/24/2026 |
| 4.0.122 | 128 | 9/17/2026 |
Updated NuGet packages