Soenneker.Twilio.HttpClients
11.0.188
Prefix Reserved
dotnet add package Soenneker.Twilio.HttpClients --version 11.0.188
NuGet\Install-Package Soenneker.Twilio.HttpClients -Version 11.0.188
<PackageReference Include="Soenneker.Twilio.HttpClients" Version="11.0.188" />
<PackageVersion Include="Soenneker.Twilio.HttpClients" Version="11.0.188" />
<PackageReference Include="Soenneker.Twilio.HttpClients" />
paket add Soenneker.Twilio.HttpClients --version 11.0.188
#r "nuget: Soenneker.Twilio.HttpClients, 11.0.188"
#:package Soenneker.Twilio.HttpClients@11.0.188
#addin nuget:?package=Soenneker.Twilio.HttpClients&version=11.0.188
#tool nuget:?package=Soenneker.Twilio.HttpClients&version=11.0.188
Soenneker.Twilio.HttpClients
Provides an owned, cached HttpClient transport for Twilio's REST API.
Installation
dotnet add package Soenneker.Twilio.HttpClients
This package supplies the transport used by Soenneker.Twilio.OpenApiClientUtil. It sets the Twilio API base URL but intentionally leaves authentication to the API-specific client layer.
Configuration
The default base URL is https://api.twilio.com/. Override it only when routing through a compatible endpoint:
{
"Twilio": {
"ClientBaseUrl": "https://api.twilio.com/"
}
}
Registration
using Soenneker.Twilio.HttpClients.Registrars;
services.AddTwilioOpenApiHttpClientAsSingleton();
Use AddTwilioOpenApiHttpClientAsScoped() when the transport owner should follow the current scope. Each owner has a distinct cached client and removes only that client when disposed.
Usage
using Soenneker.Twilio.HttpClients.Abstract;
HttpClient httpClient = await twilioHttpClient.Get(cancellationToken);
Reuse the returned client and do not dispose it directly. For authenticated Twilio OpenAPI calls, prefer Soenneker.Twilio.OpenApiClientUtil, which owns credential application and the generated request adapter.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Utils.HttpClientCache (>= 11.0.2188)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Twilio.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Twilio.OpenApiClientUtil
Provides an authenticated, cached Twilio OpenAPI client |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.188 | 0 | 12/3/2026 |
| 11.0.187 | 0 | 12/3/2026 |
| 11.0.186 | 57 | 12/3/2026 |
| 11.0.185 | 59 | 12/3/2026 |
| 11.0.184 | 43 | 12/3/2026 |
| 11.0.183 | 53 | 12/2/2026 |
| 11.0.182 | 60 | 12/2/2026 |
| 11.0.180 | 84 | 12/2/2026 |
| 11.0.179 | 93 | 12/2/2026 |
| 11.0.178 | 76 | 12/2/2026 |
| 11.0.177 | 57 | 12/2/2026 |
| 11.0.176 | 76 | 12/1/2026 |
| 11.0.175 | 82 | 12/1/2026 |
| 11.0.174 | 99 | 12/1/2026 |
| 11.0.173 | 112 | 12/1/2026 |
| 11.0.172 | 112 | 11/30/2026 |
| 11.0.171 | 153 | 11/30/2026 |
| 11.0.170 | 121 | 11/30/2026 |
| 11.0.169 | 111 | 11/29/2026 |
| 11.0.168 | 212 | 11/19/2026 |
Updated Multiple NuGet packages