Library to create HTTP API clients. HttpWorker provides processing of requests in background and managing of network failures.


Keywords
http-client, queue, background-worker, dotnet, netstandard, csharp, c-sharp
License
MIT
Install
Install-Package HttpWorker -Version 1.2.3

Documentation

NuGet

HttpWorker

HttpWorker is the library to create HTTP API clients.

HttpWorker provides processing of requests in background and managing of network failures. It has statuses like CountOfUnprocessedHttpCalls, NetworkNotAvailable, LongOperationInProcess, Working.

How to use

  • Directly by using of ApiClientBase.

    Use async AddGetCall async AddPostCall async AddDeleteCall async AddPutCall to add http call to queue.

  • Inheritance

    Inherit ApiClientBase to create specific API client like in JSONPlaceholderTestAPI.cs