Skip to content

An open source project based on the HttpClient. You only need to define the c# interface and modify the related features to invoke the client library of the remote http interface asynchronously.

License

Notifications You must be signed in to change notification settings

vicenteyu/WebApiClient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README | 中文文档

WebApiClient                 

A REST API library with better functionality, performance, and scalability than refit.

Features

Semantic Declaration

Client development only requires semantic declaration of C# interfaces.

Diverse serialization

Supports json, xml, form and other custom serialization methods.

Full trimmed and AOT

Supports full trimmed and AOT publishing of .NET8.

Aspect-Oriented Programming

Supports multiple interceptors, filters, logs, retries, custom caches and other aspects.

Code Syntax Analysis

Provides syntax analysis and prompts for interface code declarations to help developers avoid using improper syntax when declaring interfaces.

Quick access

Supports OAuth2 and token management extension packages to facilitate identity authentication and authorization.

Swagger to code

Supports parsing local or remote OpenApi documents to generate WebApiClientCore interface code, which simplifies the workload of interface declaration.

Powerful performance

In BenchmarkDotNet, the performance is 2.X times ahead of the similar product refit under various requests.

Documentation support

https://webapiclient.github.io/

About

An open source project based on the HttpClient. You only need to define the c# interface and modify the related features to invoke the client library of the remote http interface asynchronously.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.1%
  • Other 0.9%