Soenneker.Twilio.HttpClients
4.0.105
Prefix Reserved
dotnet add package Soenneker.Twilio.HttpClients --version 4.0.105
NuGet\Install-Package Soenneker.Twilio.HttpClients -Version 4.0.105
<PackageReference Include="Soenneker.Twilio.HttpClients" Version="4.0.105" />
<PackageVersion Include="Soenneker.Twilio.HttpClients" Version="4.0.105" />
<PackageReference Include="Soenneker.Twilio.HttpClients" />
paket add Soenneker.Twilio.HttpClients --version 4.0.105
#r "nuget: Soenneker.Twilio.HttpClients, 4.0.105"
#:package Soenneker.Twilio.HttpClients@4.0.105
#addin nuget:?package=Soenneker.Twilio.HttpClients&version=4.0.105
#tool nuget:?package=Soenneker.Twilio.HttpClients&version=4.0.105
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 | 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
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.11)
- Soenneker.Utils.HttpClientCache (>= 4.0.2058)
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 |
|---|---|---|
| 4.0.105 | 0 | 9/4/2026 |
| 4.0.104 | 0 | 9/4/2026 |
| 4.0.102 | 0 | 9/4/2026 |
| 4.0.101 | 0 | 9/3/2026 |
| 4.0.100 | 76 | 9/1/2026 |
| 4.0.94 | 174 | 8/30/2026 |
| 4.0.93 | 86 | 8/30/2026 |
| 4.0.92 | 209 | 8/26/2026 |
| 4.0.91 | 112 | 8/26/2026 |
| 4.0.90 | 86 | 8/26/2026 |
| 4.0.89 | 90 | 8/26/2026 |
| 4.0.88 | 125 | 8/25/2026 |
| 4.0.87 | 151 | 8/22/2026 |
| 4.0.86 | 130 | 8/22/2026 |
| 4.0.85 | 122 | 8/21/2026 |
| 4.0.84 | 141 | 8/18/2026 |
| 4.0.83 | 100 | 8/18/2026 |
| 4.0.82 | 96 | 8/18/2026 |
| 4.0.81 | 149 | 8/13/2026 |
| 4.0.80 | 158 | 8/12/2026 |