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
Install
dotnet add package Tiny.RestClient --version 1.7.2
Install-Package Tiny.RestClient -Version 1.7.2
<PackageReference Include="Tiny.RestClient" Version="1.7.2" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.