Soenneker.Twilio.RestClient 2.1.336

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

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

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.465 0 5/31/2024
2.1.464 0 5/31/2024
2.1.463 0 5/31/2024
2.1.462 0 5/31/2024
2.1.461 36 5/29/2024
2.1.460 60 5/29/2024
2.1.459 49 5/29/2024
2.1.458 53 5/29/2024
2.1.457 51 5/29/2024
2.1.456 57 5/29/2024
2.1.455 58 5/29/2024
2.1.454 53 5/29/2024
2.1.453 56 5/28/2024
2.1.452 61 5/28/2024
2.1.451 58 5/28/2024
2.1.450 59 5/28/2024
2.1.449 71 5/28/2024
2.1.448 62 5/28/2024
2.1.447 64 5/28/2024
2.1.446 61 5/28/2024
2.1.445 65 5/28/2024
2.1.444 65 5/28/2024
2.1.443 63 5/28/2024
2.1.442 63 5/28/2024
2.1.441 68 5/27/2024
2.1.440 61 5/27/2024
2.1.439 55 5/27/2024
2.1.438 63 5/27/2024
2.1.437 68 5/27/2024
2.1.436 68 5/27/2024
2.1.435 66 5/27/2024
2.1.434 67 5/27/2024
2.1.433 66 5/27/2024
2.1.432 67 5/27/2024
2.1.431 67 5/27/2024
2.1.430 69 5/26/2024
2.1.429 63 5/26/2024
2.1.428 71 5/26/2024
2.1.427 64 5/26/2024
2.1.426 69 5/26/2024
2.1.425 65 5/26/2024
2.1.424 72 5/26/2024
2.1.423 69 5/26/2024
2.1.422 78 5/26/2024
2.1.421 71 5/26/2024
2.1.420 87 5/26/2024
2.1.419 80 5/26/2024
2.1.418 78 5/26/2024
2.1.417 73 5/26/2024
2.1.416 68 5/26/2024
2.1.415 75 5/26/2024
2.1.414 71 5/25/2024
2.1.413 65 5/25/2024
2.1.412 68 5/25/2024
2.1.411 82 5/25/2024
2.1.410 67 5/25/2024
2.1.409 69 5/25/2024
2.1.408 73 5/25/2024
2.1.407 70 5/25/2024
2.1.406 76 5/25/2024
2.1.405 73 5/25/2024
2.1.404 74 5/25/2024
2.1.403 77 5/25/2024
2.1.402 63 5/25/2024
2.1.401 68 5/25/2024
2.1.400 73 5/25/2024
2.1.399 69 5/25/2024
2.1.398 72 5/25/2024
2.1.397 72 5/25/2024
2.1.396 79 5/24/2024
2.1.395 84 5/23/2024
2.1.394 77 5/23/2024
2.1.393 74 5/23/2024
2.1.392 79 5/23/2024
2.1.391 75 5/23/2024
2.1.390 70 5/23/2024
2.1.389 67 5/23/2024
2.1.388 57 5/23/2024
2.1.387 58 5/23/2024
2.1.386 74 5/23/2024
2.1.385 74 5/23/2024
2.1.384 74 5/23/2024
2.1.383 70 5/23/2024
2.1.382 68 5/23/2024
2.1.381 77 5/23/2024
2.1.380 70 5/23/2024
2.1.379 72 5/23/2024
2.1.378 74 5/23/2024
2.1.377 81 5/22/2024
2.1.376 79 5/22/2024
2.1.375 78 5/22/2024
2.1.374 77 5/22/2024
2.1.373 79 5/22/2024
2.1.372 76 5/22/2024
2.1.371 75 5/22/2024
2.1.370 72 5/22/2024
2.1.369 70 5/22/2024
2.1.368 69 5/22/2024
2.1.367 74 5/22/2024
2.1.366 69 5/19/2024
2.1.365 67 5/18/2024
2.1.364 70 5/18/2024
2.1.363 64 5/18/2024
2.1.362 63 5/18/2024
2.1.361 61 5/18/2024
2.1.360 65 5/18/2024
2.1.359 61 5/18/2024
2.1.358 67 5/18/2024
2.1.357 75 5/18/2024
2.1.356 72 5/17/2024
2.1.355 66 5/17/2024
2.1.354 67 5/17/2024
2.1.353 79 5/17/2024
2.1.352 69 5/17/2024
2.1.351 68 5/17/2024
2.1.350 71 5/17/2024
2.1.349 70 5/17/2024
2.1.348 74 5/16/2024
2.1.347 68 5/16/2024
2.1.346 69 5/16/2024
2.1.345 68 5/16/2024
2.1.344 64 5/16/2024
2.1.343 57 5/16/2024
2.1.342 61 5/16/2024
2.1.341 76 5/15/2024
2.1.340 70 5/15/2024
2.1.339 53 5/15/2024
2.1.338 44 5/15/2024
2.1.337 76 5/15/2024
2.1.336 76 5/14/2024
2.1.335 69 5/13/2024
2.1.334 64 5/13/2024
2.1.333 70 5/13/2024
2.1.332 67 5/13/2024
2.1.331 75 5/13/2024
2.1.330 68 5/13/2024
2.1.329 62 5/13/2024
2.1.328 69 5/13/2024
2.1.327 64 5/13/2024
2.1.326 57 5/3/2024
2.1.325 47 5/3/2024
2.1.324 84 4/30/2024
2.1.323 73 4/30/2024
2.1.322 78 4/30/2024
2.1.321 74 4/30/2024
2.1.320 75 4/30/2024
2.1.319 76 4/30/2024
2.1.318 86 4/30/2024
2.1.317 74 4/30/2024
2.1.316 75 4/30/2024
2.1.315 75 4/30/2024
2.1.314 80 4/30/2024
2.1.313 76 4/29/2024
2.1.312 74 4/29/2024
2.1.311 74 4/29/2024
2.1.310 83 4/29/2024
2.1.309 72 4/29/2024
2.1.308 75 4/29/2024
2.1.307 69 4/29/2024
2.1.306 78 4/29/2024
2.1.305 70 4/29/2024
2.1.304 70 4/29/2024
2.1.303 76 4/28/2024
2.1.302 77 4/28/2024
2.1.301 67 4/28/2024
2.1.300 83 4/28/2024
2.1.299 80 4/28/2024
2.1.298 73 4/28/2024
2.1.297 80 4/28/2024
2.1.296 72 4/28/2024
2.1.295 71 4/28/2024
2.1.294 75 4/28/2024
2.1.293 76 4/28/2024
2.1.292 70 4/28/2024
2.1.291 73 4/28/2024
2.1.290 69 4/28/2024
2.1.289 67 4/28/2024
2.1.288 77 4/28/2024
2.1.287 71 4/28/2024
2.1.286 69 4/28/2024
2.1.285 76 4/28/2024
2.1.284 72 4/28/2024
2.1.283 82 4/28/2024
2.1.282 77 4/28/2024
2.1.281 85 4/28/2024
2.1.280 75 4/28/2024
2.1.279 75 4/28/2024
2.1.278 69 4/28/2024
2.1.277 78 4/27/2024
2.1.276 70 4/27/2024
2.1.275 78 4/20/2024
2.1.274 74 4/20/2024
2.1.273 84 4/20/2024
2.1.272 77 4/20/2024
2.1.271 77 4/20/2024
2.1.270 74 4/19/2024
2.1.269 71 4/19/2024
2.1.268 73 4/19/2024
2.1.267 72 4/19/2024
2.1.266 69 4/19/2024
2.1.265 69 4/19/2024
2.1.264 70 4/19/2024
2.1.263 76 4/19/2024
2.1.262 69 4/19/2024
2.1.261 67 4/19/2024
2.1.260 76 4/19/2024
2.1.259 68 4/18/2024
2.1.258 70 4/18/2024
2.1.257 69 4/15/2024
2.1.256 83 4/14/2024
2.1.255 75 4/13/2024
2.1.254 72 4/13/2024
2.1.253 76 4/13/2024
2.1.252 78 4/13/2024
2.1.251 70 4/13/2024
2.1.250 83 4/12/2024
2.1.249 82 4/12/2024
2.1.248 69 4/12/2024
2.1.247 57 4/12/2024
2.1.246 68 4/12/2024
2.1.245 60 4/12/2024
2.1.244 69 4/12/2024
2.1.243 68 4/12/2024
2.1.242 65 4/12/2024
2.1.241 70 4/12/2024
2.1.240 60 4/12/2024
2.1.239 67 4/12/2024
2.1.238 69 4/12/2024
2.1.237 72 4/12/2024
2.1.236 75 4/12/2024
2.1.235 71 4/12/2024
2.1.234 76 4/12/2024
2.1.233 64 4/12/2024
2.1.232 84 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 64 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 75 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 93 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 91 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 88 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 81 3/4/2024
2.1.60 91 3/3/2024
2.1.59 87 3/3/2024
2.1.58 78 3/3/2024
2.1.57 88 3/3/2024
2.1.56 88 3/3/2024
2.1.55 73 3/3/2024
2.1.54 91 3/3/2024
2.1.53 82 3/3/2024
2.1.52 81 3/2/2024
2.1.51 82 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 82 2/29/2024
2.1.32 78 2/29/2024
2.1.31 79 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 74 2/26/2024
2.1.13 75 2/26/2024
2.1.12 76 2/26/2024
2.1.11 82 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