Soenneker.Shippo.HttpClients
11.0.162
Prefix Reserved
dotnet add package Soenneker.Shippo.HttpClients --version 11.0.162
NuGet\Install-Package Soenneker.Shippo.HttpClients -Version 11.0.162
<PackageReference Include="Soenneker.Shippo.HttpClients" Version="11.0.162" />
<PackageVersion Include="Soenneker.Shippo.HttpClients" Version="11.0.162" />
<PackageReference Include="Soenneker.Shippo.HttpClients" />
paket add Soenneker.Shippo.HttpClients --version 11.0.162
#r "nuget: Soenneker.Shippo.HttpClients, 11.0.162"
#:package Soenneker.Shippo.HttpClients@11.0.162
#addin nuget:?package=Soenneker.Shippo.HttpClients&version=11.0.162
#tool nuget:?package=Soenneker.Shippo.HttpClients&version=11.0.162
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 | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.914)
- Soenneker.Utils.HttpClientCache (>= 11.0.2144)
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 |
|---|---|---|
| 11.0.162 | 78 | 11/3/2026 |
| 11.0.161 | 80 | 11/3/2026 |
| 11.0.160 | 80 | 11/3/2026 |
| 11.0.158 | 99 | 11/3/2026 |
| 11.0.157 | 198 | 10/27/2026 |
| 11.0.156 | 121 | 10/27/2026 |
| 11.0.154 | 130 | 10/26/2026 |
| 11.0.153 | 98 | 10/26/2026 |
| 4.0.152 | 164 | 10/15/2026 |
| 4.0.151 | 91 | 10/15/2026 |
| 4.0.149 | 118 | 10/14/2026 |
| 4.0.147 | 105 | 10/14/2026 |
| 4.0.146 | 94 | 10/14/2026 |
| 4.0.145 | 114 | 10/14/2026 |
| 4.0.138 | 122 | 10/13/2026 |
| 4.0.134 | 138 | 10/12/2026 |
| 4.0.133 | 102 | 10/11/2026 |
| 4.0.132 | 97 | 10/11/2026 |
| 4.0.131 | 96 | 10/11/2026 |
| 4.0.130 | 145 | 10/9/2026 |
Updated Multiple NuGet packages