RestKit 1.1.0.2
See the version list below for details.
dotnet add package RestKit --version 1.1.0.2
NuGet\Install-Package RestKit -Version 1.1.0.2
<PackageReference Include="RestKit" Version="1.1.0.2" />
paket add RestKit --version 1.1.0.2
#r "nuget: RestKit, 1.1.0.2"
// Install RestKit as a Cake Addin #addin nuget:?package=RestKit&version=1.1.0.2 // Install RestKit as a Cake Tool #tool nuget:?package=RestKit&version=1.1.0.2
Using RestKit is as simple as 'representation = Resource.Json().Get(uri)', then 'representation.GetContentAsJson()'. You have the ability to handle unexpected content. Variations exist for Xml and Text. For advanced scenarios, you have full control of serialization, a callback pipeline, and full access to the underlying HttpClient and HttpResponseMessage. Use of RestKit is mockable using the IHttpResource interface and/or by injecting a mock HttpMessageHandler into a stub.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
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 |
---|---|---|
1.3.1 | 3,137 | 2/2/2018 |
1.3.0 | 979 | 2/2/2018 |
1.1.0.2 | 6,277 | 10/24/2016 |
1.1.0.1 | 1,162 | 10/24/2016 |
1.0.0.1 | 1,247 | 8/18/2016 |
0.9.1-alpha | 1,004 | 8/18/2016 |
0.8.0-alpha | 1,035 | 8/15/2016 |
1.1 implements a pool of Http Clients keyed by DNS host name, to allow for underlying connection reuse. This means the HttpClient will not be exposed as a property on the resource to prevent surprises when reusing clients. However you now have an overload to pass your own HttpClient for testing, and for scenarios where you wish to explicitly control the HttpClient lifetime.