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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Twilio.HttpClients" Version="4.0.105" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Twilio.HttpClients" Version="4.0.105" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Twilio.HttpClients" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Twilio.HttpClients --version 4.0.105
                    
#r "nuget: Soenneker.Twilio.HttpClients, 4.0.105"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Twilio.HttpClients@4.0.105
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Twilio.HttpClients&version=4.0.105
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Twilio.HttpClients&version=4.0.105
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed