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)
Dependencies
.NETFramework 4.5
- Newtonsoft.Json(>= 11.0.2)
- NETStandard.Library(>= 1.6.1)
- Newtonsoft.Json(>= 11.0.2)
- System.Xml.XmlSerializer(>= 4.3.0)
- NETStandard.Library(>= 1.6.1)
- Newtonsoft.Json(>= 11.0.2)
- System.Xml.XmlSerializer(>= 4.3.0)
- Newtonsoft.Json(>= 11.0.2)
- Newtonsoft.Json(>= 11.0.2)
- NETStandard.Library(>= 1.6.1)
- Newtonsoft.Json(>= 11.0.2)
- System.Xml.XmlSerializer(>= 4.3.0)
Tags
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.