项目作者: vpapenko

项目描述 :
Library to create HTTP API clients
高级语言: C#
项目地址: git://github.com/vpapenko/HttpWorker.git
创建时间: 2019-10-16T11:57:10Z
项目社区:https://github.com/vpapenko/HttpWorker

开源协议:MIT License

下载


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