Skip to content

vpapenko/HttpWorker

Repository files navigation

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