NuGet Package Tiny.RestClient

Tiny.RestClient facilitates the dialog between your API and your application.

It hides all the complexity of communication, deserialisation ...

Features :
* Modern async http client for REST API.
* Support of verbs : GET, POST , PUT, DELETE, PATCH and custom http verbs
* Support of ETag
* Support of multi-part form data
* Support of cancellation token on each requests
* Support of : download file and Upload file
* Automatic XML and JSON serialization / deserialization
* Support of custom serialisation / deserialisation
* Support of camelCase, snakeCase kebabCase for json serialization
* Support of compression and decompression (gzip and deflate)
* Typed exceptions which are easier to interpret
* Define timeout globally or per request
* Timeout exception thrown if the request is in timeout (by default HttpClient sends OperationCancelledException, so we can't distinguish between user cancellation and timeout)
* Provide an easy way to log : all sending of request, failed to get response, and the time get response.
* Support of export requests to postman collection
* Support of display cURL requests in debug output
* Support of Basic Authentification
* Support of OAuth2 Authentification.

Info

Version: 1.7.0
Author(s): Jérôme Giacomini
Last Update: Friday, November 1, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/jgiacomini/Tiny.RestClient
NuGet Url: https://www.nuget.org/packages/Tiny.RestClient


Install
Install-Package Tiny.RestClient
dotnet add package Tiny.RestClient
paket add Tiny.RestClient
Tiny.RestClient Download (Unzip the "nupkg" after downloading)

.NETFramework 4.5 .NETFramework 4.7 .NETStandard 1.1 .NETStandard 1.3 .NETStandard 2.0 net46 netstandard1.2


Tags



STATS

must-have-score

5.3

avg-downloads-per-day

37

days-since-last-release

116