Tiny.RestClient NuGet Package

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.




Got any Tiny.RestClient Question?





Info

Version: 1.7.1
Author(s): Jérôme Giacomini
Last Update: Friday, May 29, 2020
.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 .NETStandard 1.1 .NETStandard 1.3 .NETStandard 2.0 net46 netstandard1.2 2 packages depend on this package.


Tags



STATS

must-have-score

2.4

avg-downloads-per-day

32

days-since-last-release

1429