一款基于HttpClient封装,只需要定义c#接口并修饰相关特性,即可异步调用远程http接口的客户端库.
Info
Version: | 1.2.2 |
Author(s): | xljiulang |
Last Update: | Saturday, May 12, 2018 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/dotnetcore/WebApiClient |
NuGet Url: | https://www.nuget.org/packages/Laojiu.WebApiClient |
Install
Install-Package Laojiu.WebApiClient
dotnet add package Laojiu.WebApiClient
paket add Laojiu.WebApiClient
Laojiu.WebApiClient Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 4.5
- Newtonsoft.Json(>= 6.0.1)
- Newtonsoft.Json(>= 9.0.1)
- System.Reflection.Emit(>= 4.3.0)
- Newtonsoft.Json(>= 9.0.1)