Soenneker.Twilio.RestClient 2.1.394

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.394
NuGet\Install-Package Soenneker.Twilio.RestClient -Version 2.1.394
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.394" />
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.394
#r "nuget: Soenneker.Twilio.RestClient, 2.1.394"
#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.394

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

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