Soenneker.Vercel.HttpClients
11.0.181
Prefix Reserved
dotnet add package Soenneker.Vercel.HttpClients --version 11.0.181
NuGet\Install-Package Soenneker.Vercel.HttpClients -Version 11.0.181
<PackageReference Include="Soenneker.Vercel.HttpClients" Version="11.0.181" />
<PackageVersion Include="Soenneker.Vercel.HttpClients" Version="11.0.181" />
<PackageReference Include="Soenneker.Vercel.HttpClients" />
paket add Soenneker.Vercel.HttpClients --version 11.0.181
#r "nuget: Soenneker.Vercel.HttpClients, 11.0.181"
#:package Soenneker.Vercel.HttpClients@11.0.181
#addin nuget:?package=Soenneker.Vercel.HttpClients&version=11.0.181
#tool nuget:?package=Soenneker.Vercel.HttpClients&version=11.0.181
Soenneker.Vercel.HttpClients
Provides a cached HttpClient configured for the Vercel REST API with Bearer-token authentication.
Installation
dotnet add package Soenneker.Vercel.HttpClients
Configuration
{
"Vercel": {
"AccessToken": "your-vercel-access-token"
}
}
Vercel:ApiKey remains supported as a legacy name for the same token value. The token must have access to the personal account or team whose resources are requested.
Registration
using Soenneker.Vercel.HttpClients.Registrars;
services.AddVercelOpenApiHttpClientAsSingleton();
Scoped registration is available through AddVercelOpenApiHttpClientAsScoped(). Each provider instance owns a separate cached client and removes only that client when disposed.
Usage
using Soenneker.Vercel.HttpClients.Abstract;
public sealed class DeploymentReader
{
private readonly IVercelOpenApiHttpClient _clients;
public DeploymentReader(IVercelOpenApiHttpClient clients)
{
_clients = clients;
}
public async ValueTask<HttpResponseMessage> GetDeployments(
string? teamId,
CancellationToken cancellationToken)
{
HttpClient client = await _clients.Get(cancellationToken);
string path = "v6/deployments";
if (!string.IsNullOrWhiteSpace(teamId))
path += $"?teamId={Uri.EscapeDataString(teamId)}";
return await client.GetAsync(path, cancellationToken);
}
}
The base address is https://api.vercel.com/; individual request paths include their API version. Requests include Authorization: Bearer <AccessToken> by default.
| 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.Vercel.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Vercel.OpenApiClientUtil
Provides a cached Vercel OpenAPI client backed by authenticated transport |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.181 | 137 | 11/19/2026 |
| 11.0.178 | 133 | 11/18/2026 |
| 11.0.175 | 160 | 11/15/2026 |
| 11.0.174 | 129 | 11/15/2026 |
| 11.0.173 | 158 | 11/11/2026 |
| 11.0.172 | 105 | 11/11/2026 |
| 11.0.171 | 109 | 11/11/2026 |
| 11.0.170 | 109 | 11/11/2026 |
| 11.0.168 | 238 | 11/3/2026 |
| 11.0.167 | 109 | 11/3/2026 |
| 11.0.166 | 104 | 11/3/2026 |
| 11.0.165 | 117 | 11/3/2026 |
| 11.0.164 | 112 | 11/3/2026 |
| 11.0.163 | 237 | 10/27/2026 |
| 11.0.162 | 124 | 10/27/2026 |
| 11.0.161 | 117 | 10/26/2026 |
| 11.0.160 | 104 | 10/26/2026 |
| 11.0.159 | 106 | 10/26/2026 |
| 4.0.158 | 293 | 10/15/2026 |
| 4.0.157 | 129 | 10/14/2026 |
Updated Multiple NuGet packages