https://github.com/vpapenko/httpworker
Library to create HTTP API clients
https://github.com/vpapenko/httpworker
background-worker c-sharp csharp dotnet http-client netstandard queue
Last synced: 11 months ago
JSON representation
Library to create HTTP API clients
- Host: GitHub
- URL: https://github.com/vpapenko/httpworker
- Owner: vpapenko
- License: mit
- Created: 2019-10-16T11:57:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:18:37.000Z (over 3 years ago)
- Last Synced: 2025-06-28T20:53:49.438Z (12 months ago)
- Topics: background-worker, c-sharp, csharp, dotnet, http-client, netstandard, queue
- Language: C#
- Homepage:
- Size: 221 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://www.nuget.org/packages/HttpWorker/)

# 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](TestAPI/JSONPlaceholderTestAPI.cs)