Soenneker.Twilio.RestClient 2.1.543

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Twilio.RestClient --version 2.1.543
NuGet\Install-Package Soenneker.Twilio.RestClient -Version 2.1.543
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.RestClient" Version="2.1.543" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Twilio.RestClient --version 2.1.543
#r "nuget: Soenneker.Twilio.RestClient, 2.1.543"
#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.
// Install Soenneker.Twilio.RestClient as a Cake Addin
#addin nuget:?package=Soenneker.Twilio.RestClient&version=2.1.543

// Install Soenneker.Twilio.RestClient as a Cake Tool
#tool nuget:?package=Soenneker.Twilio.RestClient&version=2.1.543

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.RestClient

An async thread-safe singleton for a Twilio RestClient

Installation

dotnet add package Soenneker.Twilio.RestClient

Why?

This library provides a singleton of a TwilioRestClient.

Internally it implements an HttpClient singleton. This HttpClient has less overhead than new instances of HttpClient and IHttpClientFactory all while correctly handling connection pooling for DNS changes.

See soenneker.utils.httpclientcache for more information.

Usage

  1. Register ITwilioRestClientUtil with DI.
public static async Task Main(string[] args)
{
    ...
    builder.Services.AddTwilioRestClientUtilAsSingleton();
}
  1. Inject ITwilioRestClientUtil via constructor, and retrieve a TwilioRestClient.
public class TestClass
{
    ITwilioRestClientUtil _twilioRestClientUtil;

    public TestClass(ITwilioRestClientUtil twilioRestClientUtil)
    {
        _twilioRestClientUtil = twilioRestClientUtil;
    }

    public async ValueTask SendMessage()
    {
        var message = await MessageResource.CreateAsync(
            new PhoneNumber("+11234567890"),
            from: new PhoneNumber("+10987654321"),
            body: "Hello World!",
            client: await _twilioRestClientUtil.Get()
        );

        Console.WriteLine(message.Sid);
    }
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.560 28 7/4/2024
2.1.559 36 7/3/2024
2.1.558 43 7/3/2024
2.1.557 44 7/3/2024
2.1.556 40 7/3/2024
2.1.555 45 7/3/2024
2.1.554 35 7/3/2024
2.1.553 39 7/3/2024
2.1.552 40 7/3/2024
2.1.551 42 7/3/2024
2.1.550 42 7/3/2024
2.1.549 41 7/3/2024
2.1.548 42 7/3/2024
2.1.547 63 7/3/2024
2.1.546 61 7/3/2024
2.1.545 59 7/3/2024
2.1.544 68 7/2/2024
2.1.543 58 7/2/2024
2.1.542 66 6/30/2024
2.1.541 64 6/30/2024
2.1.540 63 6/28/2024
2.1.539 70 6/28/2024
2.1.538 73 6/27/2024
2.1.537 69 6/27/2024
2.1.536 70 6/27/2024
2.1.535 69 6/27/2024
2.1.534 67 6/27/2024
2.1.533 66 6/27/2024
2.1.532 69 6/27/2024
2.1.531 70 6/22/2024
2.1.530 62 6/22/2024
2.1.529 69 6/22/2024
2.1.528 79 6/22/2024
2.1.527 68 6/22/2024
2.1.526 74 6/22/2024
2.1.525 66 6/22/2024
2.1.524 74 6/22/2024
2.1.523 80 6/18/2024
2.1.522 75 6/16/2024
2.1.521 91 6/16/2024
2.1.520 77 6/16/2024
2.1.519 82 6/15/2024
2.1.518 80 6/15/2024
2.1.517 80 6/15/2024
2.1.516 79 6/15/2024
2.1.515 78 6/15/2024
2.1.514 79 6/15/2024
2.1.513 71 6/15/2024
2.1.512 82 6/15/2024
2.1.511 76 6/15/2024
2.1.510 79 6/15/2024
2.1.509 72 6/15/2024
2.1.508 77 6/15/2024
2.1.507 70 6/15/2024
2.1.506 73 6/15/2024
2.1.505 80 6/15/2024
2.1.504 76 6/15/2024
2.1.503 76 6/15/2024
2.1.502 84 6/14/2024
2.1.501 65 6/14/2024
2.1.500 77 6/14/2024
2.1.499 75 6/14/2024
2.1.498 71 6/6/2024
2.1.497 63 6/4/2024
2.1.496 61 6/4/2024
2.1.495 72 6/4/2024
2.1.494 75 6/2/2024
2.1.493 67 6/2/2024
2.1.492 71 6/2/2024
2.1.491 68 6/2/2024
2.1.490 69 6/2/2024
2.1.489 73 6/1/2024
2.1.488 70 6/1/2024
2.1.487 62 6/1/2024
2.1.486 64 6/1/2024
2.1.485 69 6/1/2024
2.1.484 64 6/1/2024
2.1.483 61 6/1/2024
2.1.482 61 6/1/2024
2.1.481 63 6/1/2024
2.1.480 58 6/1/2024
2.1.479 66 6/1/2024
2.1.478 72 6/1/2024
2.1.477 69 6/1/2024
2.1.476 66 6/1/2024
2.1.475 67 6/1/2024
2.1.474 64 6/1/2024
2.1.473 68 6/1/2024
2.1.472 67 5/31/2024
2.1.471 66 5/31/2024
2.1.470 61 5/31/2024
2.1.469 76 5/31/2024
2.1.468 69 5/31/2024
2.1.467 57 5/31/2024
2.1.466 51 5/31/2024
2.1.465 68 5/31/2024
2.1.464 65 5/31/2024
2.1.463 66 5/31/2024
2.1.462 65 5/31/2024
2.1.461 65 5/29/2024
2.1.460 81 5/29/2024
2.1.459 73 5/29/2024
2.1.458 72 5/29/2024
2.1.457 72 5/29/2024
2.1.456 76 5/29/2024
2.1.455 77 5/29/2024
2.1.454 72 5/29/2024
2.1.453 63 5/28/2024
2.1.452 68 5/28/2024
2.1.451 65 5/28/2024
2.1.450 66 5/28/2024
2.1.449 78 5/28/2024
2.1.448 69 5/28/2024
2.1.447 71 5/28/2024
2.1.446 68 5/28/2024
2.1.445 72 5/28/2024
2.1.444 72 5/28/2024
2.1.443 70 5/28/2024
2.1.442 70 5/28/2024
2.1.441 75 5/27/2024
2.1.440 68 5/27/2024
2.1.439 62 5/27/2024
2.1.438 70 5/27/2024
2.1.437 75 5/27/2024
2.1.436 75 5/27/2024
2.1.435 73 5/27/2024
2.1.434 74 5/27/2024
2.1.433 73 5/27/2024
2.1.432 74 5/27/2024
2.1.431 73 5/27/2024
2.1.430 76 5/26/2024
2.1.429 70 5/26/2024
2.1.428 78 5/26/2024
2.1.427 75 5/26/2024
2.1.426 78 5/26/2024
2.1.425 74 5/26/2024
2.1.424 77 5/26/2024
2.1.423 74 5/26/2024
2.1.422 83 5/26/2024
2.1.421 76 5/26/2024
2.1.420 92 5/26/2024
2.1.419 85 5/26/2024
2.1.418 83 5/26/2024
2.1.417 78 5/26/2024
2.1.416 73 5/26/2024
2.1.415 81 5/26/2024
2.1.414 76 5/25/2024
2.1.413 70 5/25/2024
2.1.412 73 5/25/2024
2.1.411 89 5/25/2024
2.1.410 74 5/25/2024
2.1.409 76 5/25/2024
2.1.408 80 5/25/2024
2.1.407 77 5/25/2024
2.1.406 83 5/25/2024
2.1.405 80 5/25/2024
2.1.404 81 5/25/2024
2.1.403 84 5/25/2024
2.1.402 70 5/25/2024
2.1.401 75 5/25/2024
2.1.400 80 5/25/2024
2.1.399 75 5/25/2024
2.1.398 78 5/25/2024
2.1.397 79 5/25/2024
2.1.396 83 5/24/2024
2.1.395 88 5/23/2024
2.1.394 81 5/23/2024
2.1.393 78 5/23/2024
2.1.392 83 5/23/2024
2.1.391 79 5/23/2024
2.1.390 74 5/23/2024
2.1.389 71 5/23/2024
2.1.388 63 5/23/2024
2.1.387 62 5/23/2024
2.1.386 78 5/23/2024
2.1.385 78 5/23/2024
2.1.384 78 5/23/2024
2.1.383 74 5/23/2024
2.1.382 72 5/23/2024
2.1.381 81 5/23/2024
2.1.380 74 5/23/2024
2.1.379 76 5/23/2024
2.1.378 78 5/23/2024
2.1.377 85 5/22/2024
2.1.376 83 5/22/2024
2.1.375 82 5/22/2024
2.1.374 81 5/22/2024
2.1.373 83 5/22/2024
2.1.372 80 5/22/2024
2.1.371 79 5/22/2024
2.1.370 76 5/22/2024
2.1.369 74 5/22/2024
2.1.368 73 5/22/2024
2.1.367 78 5/22/2024
2.1.366 73 5/19/2024
2.1.365 71 5/18/2024
2.1.364 74 5/18/2024
2.1.363 68 5/18/2024
2.1.362 67 5/18/2024
2.1.361 65 5/18/2024
2.1.360 69 5/18/2024
2.1.359 65 5/18/2024
2.1.358 71 5/18/2024
2.1.357 79 5/18/2024
2.1.356 76 5/17/2024
2.1.355 70 5/17/2024
2.1.354 71 5/17/2024
2.1.353 83 5/17/2024
2.1.352 73 5/17/2024
2.1.351 72 5/17/2024
2.1.350 75 5/17/2024
2.1.349 74 5/17/2024
2.1.348 78 5/16/2024
2.1.347 72 5/16/2024
2.1.346 73 5/16/2024
2.1.345 72 5/16/2024
2.1.344 73 5/16/2024
2.1.343 61 5/16/2024
2.1.342 65 5/16/2024
2.1.341 80 5/15/2024
2.1.340 74 5/15/2024
2.1.339 56 5/15/2024
2.1.338 47 5/15/2024
2.1.337 79 5/15/2024
2.1.336 79 5/14/2024
2.1.335 72 5/13/2024
2.1.334 67 5/13/2024
2.1.333 73 5/13/2024
2.1.332 70 5/13/2024
2.1.331 78 5/13/2024
2.1.330 71 5/13/2024
2.1.329 65 5/13/2024
2.1.328 72 5/13/2024
2.1.327 67 5/13/2024
2.1.326 60 5/3/2024
2.1.325 50 5/3/2024
2.1.324 93 4/30/2024
2.1.323 76 4/30/2024
2.1.322 81 4/30/2024
2.1.321 75 4/30/2024
2.1.320 77 4/30/2024
2.1.319 84 4/30/2024
2.1.318 88 4/30/2024
2.1.317 76 4/30/2024
2.1.316 77 4/30/2024
2.1.315 77 4/30/2024
2.1.314 82 4/30/2024
2.1.313 78 4/29/2024
2.1.312 76 4/29/2024
2.1.311 76 4/29/2024
2.1.310 85 4/29/2024
2.1.309 74 4/29/2024
2.1.308 77 4/29/2024
2.1.307 71 4/29/2024
2.1.306 86 4/29/2024
2.1.305 72 4/29/2024
2.1.304 78 4/29/2024
2.1.303 78 4/28/2024
2.1.302 79 4/28/2024
2.1.301 69 4/28/2024
2.1.300 85 4/28/2024
2.1.299 82 4/28/2024
2.1.298 75 4/28/2024
2.1.297 86 4/28/2024
2.1.296 80 4/28/2024
2.1.295 73 4/28/2024
2.1.294 77 4/28/2024
2.1.293 78 4/28/2024
2.1.292 72 4/28/2024
2.1.291 75 4/28/2024
2.1.290 71 4/28/2024
2.1.289 69 4/28/2024
2.1.288 79 4/28/2024
2.1.287 73 4/28/2024
2.1.286 71 4/28/2024
2.1.285 78 4/28/2024
2.1.284 74 4/28/2024
2.1.283 84 4/28/2024
2.1.282 79 4/28/2024
2.1.281 87 4/28/2024
2.1.280 77 4/28/2024
2.1.279 77 4/28/2024
2.1.278 71 4/28/2024
2.1.277 80 4/27/2024
2.1.276 72 4/27/2024
2.1.275 80 4/20/2024
2.1.274 76 4/20/2024
2.1.273 86 4/20/2024
2.1.272 79 4/20/2024
2.1.271 79 4/20/2024
2.1.270 76 4/19/2024
2.1.269 73 4/19/2024
2.1.268 75 4/19/2024
2.1.267 74 4/19/2024
2.1.266 71 4/19/2024
2.1.265 71 4/19/2024
2.1.264 78 4/19/2024
2.1.263 84 4/19/2024
2.1.262 71 4/19/2024
2.1.261 69 4/19/2024
2.1.260 78 4/19/2024
2.1.259 76 4/18/2024
2.1.258 72 4/18/2024
2.1.257 71 4/15/2024
2.1.256 85 4/14/2024
2.1.255 77 4/13/2024
2.1.254 74 4/13/2024
2.1.253 78 4/13/2024
2.1.252 80 4/13/2024
2.1.251 72 4/13/2024
2.1.250 85 4/12/2024
2.1.249 84 4/12/2024
2.1.248 71 4/12/2024
2.1.247 59 4/12/2024
2.1.246 70 4/12/2024
2.1.245 62 4/12/2024
2.1.244 71 4/12/2024
2.1.243 76 4/12/2024
2.1.242 67 4/12/2024
2.1.241 72 4/12/2024
2.1.240 62 4/12/2024
2.1.239 74 4/12/2024
2.1.238 71 4/12/2024
2.1.237 74 4/12/2024
2.1.236 82 4/12/2024
2.1.235 73 4/12/2024
2.1.234 78 4/12/2024
2.1.233 66 4/12/2024
2.1.232 86 4/12/2024
2.1.231 91 4/12/2024
2.1.230 73 4/12/2024
2.1.229 66 4/12/2024
2.1.228 71 4/11/2024
2.1.227 67 4/10/2024
2.1.226 80 4/10/2024
2.1.225 76 4/10/2024
2.1.224 62 4/10/2024
2.1.223 74 4/10/2024
2.1.222 68 4/10/2024
2.1.221 63 4/10/2024
2.1.220 68 4/10/2024
2.1.219 65 4/10/2024
2.1.218 71 4/10/2024
2.1.217 69 4/10/2024
2.1.216 70 4/4/2024
2.1.215 70 4/3/2024
2.1.214 70 4/2/2024
2.1.213 83 4/2/2024
2.1.212 85 4/2/2024
2.1.211 75 4/2/2024
2.1.210 71 4/2/2024
2.1.209 92 4/2/2024
2.1.208 84 4/2/2024
2.1.207 82 4/1/2024
2.1.206 79 4/1/2024
2.1.205 82 4/1/2024
2.1.204 84 4/1/2024
2.1.203 93 4/1/2024
2.1.202 84 3/30/2024
2.1.201 85 3/29/2024
2.1.200 82 3/29/2024
2.1.199 87 3/29/2024
2.1.198 79 3/29/2024
2.1.197 83 3/29/2024
2.1.196 85 3/25/2024
2.1.195 87 3/25/2024
2.1.194 84 3/25/2024
2.1.193 80 3/25/2024
2.1.192 72 3/25/2024
2.1.191 84 3/25/2024
2.1.190 86 3/25/2024
2.1.189 81 3/25/2024
2.1.188 88 3/25/2024
2.1.187 93 3/25/2024
2.1.186 84 3/25/2024
2.1.185 88 3/25/2024
2.1.184 101 3/21/2024
2.1.183 81 3/21/2024
2.1.182 76 3/21/2024
2.1.181 85 3/21/2024
2.1.180 90 3/20/2024
2.1.179 75 3/20/2024
2.1.178 91 3/20/2024
2.1.177 81 3/20/2024
2.1.176 82 3/19/2024
2.1.175 88 3/19/2024
2.1.174 91 3/19/2024
2.1.173 96 3/19/2024
2.1.172 90 3/19/2024
2.1.171 75 3/19/2024
2.1.170 91 3/19/2024
2.1.169 81 3/19/2024
2.1.168 85 3/19/2024
2.1.167 94 3/19/2024
2.1.166 91 3/19/2024
2.1.165 99 3/19/2024
2.1.164 95 3/19/2024
2.1.163 98 3/19/2024
2.1.162 86 3/19/2024
2.1.161 90 3/19/2024
2.1.160 83 3/18/2024
2.1.159 86 3/18/2024
2.1.158 97 3/16/2024
2.1.157 100 3/16/2024
2.1.156 100 3/16/2024
2.1.155 96 3/16/2024
2.1.154 108 3/16/2024
2.1.153 100 3/16/2024
2.1.152 93 3/15/2024
2.1.151 88 3/15/2024
2.1.150 95 3/15/2024
2.1.149 92 3/14/2024
2.1.148 82 3/13/2024
2.1.147 94 3/13/2024
2.1.146 78 3/13/2024
2.1.145 91 3/13/2024
2.1.144 93 3/13/2024
2.1.143 88 3/13/2024
2.1.142 83 3/13/2024
2.1.141 84 3/13/2024
2.1.140 90 3/13/2024
2.1.139 100 3/13/2024
2.1.138 87 3/13/2024
2.1.137 86 3/13/2024
2.1.136 85 3/13/2024
2.1.135 97 3/13/2024
2.1.134 86 3/13/2024
2.1.133 83 3/13/2024
2.1.132 92 3/13/2024
2.1.131 97 3/13/2024
2.1.130 92 3/13/2024
2.1.129 85 3/13/2024
2.1.128 96 3/13/2024
2.1.127 95 3/13/2024
2.1.126 97 3/12/2024
2.1.125 91 3/12/2024
2.1.124 103 3/12/2024
2.1.123 83 3/12/2024
2.1.122 99 3/12/2024
2.1.121 95 3/12/2024
2.1.120 90 3/12/2024
2.1.119 98 3/12/2024
2.1.118 104 3/12/2024
2.1.117 93 3/12/2024
2.1.116 93 3/11/2024
2.1.115 98 3/11/2024
2.1.114 98 3/11/2024
2.1.113 96 3/11/2024
2.1.112 93 3/11/2024
2.1.111 95 3/11/2024
2.1.110 96 3/11/2024
2.1.109 78 3/11/2024
2.1.108 80 3/11/2024
2.1.107 79 3/11/2024
2.1.106 74 3/11/2024
2.1.105 78 3/11/2024
2.1.104 98 3/10/2024
2.1.103 104 3/10/2024
2.1.102 92 3/10/2024
2.1.101 99 3/10/2024
2.1.100 92 3/10/2024
2.1.99 98 3/10/2024
2.1.98 101 3/9/2024
2.1.97 96 3/8/2024
2.1.96 93 3/8/2024
2.1.95 94 3/8/2024
2.1.94 98 3/8/2024
2.1.93 93 3/8/2024
2.1.92 94 3/8/2024
2.1.91 89 3/8/2024
2.1.90 86 3/8/2024
2.1.89 92 3/8/2024
2.1.88 88 3/8/2024
2.1.87 101 3/8/2024
2.1.86 91 3/8/2024
2.1.85 89 3/8/2024
2.1.84 96 3/8/2024
2.1.83 94 3/8/2024
2.1.82 95 3/8/2024
2.1.81 95 3/6/2024
2.1.80 94 3/6/2024
2.1.79 95 3/6/2024
2.1.78 92 3/6/2024
2.1.77 101 3/6/2024
2.1.76 93 3/6/2024
2.1.75 96 3/6/2024
2.1.74 93 3/4/2024
2.1.73 96 3/4/2024
2.1.72 87 3/4/2024
2.1.71 83 3/4/2024
2.1.70 86 3/4/2024
2.1.69 86 3/4/2024
2.1.68 94 3/4/2024
2.1.67 83 3/4/2024
2.1.66 88 3/4/2024
2.1.65 81 3/4/2024
2.1.64 88 3/4/2024
2.1.63 90 3/4/2024
2.1.62 89 3/4/2024
2.1.61 83 3/4/2024
2.1.60 99 3/3/2024
2.1.59 89 3/3/2024
2.1.58 80 3/3/2024
2.1.57 90 3/3/2024
2.1.56 90 3/3/2024
2.1.55 76 3/3/2024
2.1.54 94 3/3/2024
2.1.53 85 3/3/2024
2.1.52 84 3/2/2024
2.1.51 85 3/2/2024
2.1.50 89 3/2/2024
2.1.49 79 3/2/2024
2.1.48 93 3/2/2024
2.1.47 82 3/2/2024
2.1.46 82 3/2/2024
2.1.45 83 3/2/2024
2.1.44 72 3/2/2024
2.1.43 89 3/2/2024
2.1.42 82 3/2/2024
2.1.41 73 3/2/2024
2.1.40 81 3/2/2024
2.1.39 77 3/2/2024
2.1.38 84 3/2/2024
2.1.37 82 3/2/2024
2.1.36 88 3/2/2024
2.1.35 94 3/1/2024
2.1.34 85 2/29/2024
2.1.33 89 2/29/2024
2.1.32 79 2/29/2024
2.1.31 86 2/29/2024
2.1.30 89 2/29/2024
2.1.29 81 2/29/2024
2.1.28 81 2/29/2024
2.1.27 82 2/29/2024
2.1.26 78 2/29/2024
2.1.25 79 2/29/2024
2.1.24 84 2/29/2024
2.1.23 81 2/29/2024
2.1.22 81 2/29/2024
2.1.21 80 2/29/2024
2.1.20 83 2/29/2024
2.1.19 91 2/29/2024
2.1.18 89 2/29/2024
2.1.17 100 2/27/2024
2.1.16 84 2/27/2024
2.1.15 88 2/26/2024
2.1.14 78 2/26/2024
2.1.13 79 2/26/2024
2.1.12 79 2/26/2024
2.1.11 86 2/26/2024
2.1.10 85 2/26/2024
2.1.9 85 2/26/2024
2.1.8 84 2/26/2024
2.1.7 85 2/26/2024
2.1.6 83 2/26/2024
2.1.5 91 2/25/2024
2.1.4 92 2/25/2024
2.1.3 87 2/25/2024
2.1.2 88 2/24/2024
2.1.1 88 2/24/2024