WebApiClient
A declarative http client library that combines high performance and scalability
Semantic Declaration
⛳ Developing client-side code only requires semantic declaration of interfaces
Multi-Serializer support
🛠 Supports json, xml, form and other custom serializations
Code Trim & AOT
🤖 Supports full code trimming and AOT publishing for .NET 8.
Aspect Oriented
🎉 Supports multiple interceptors, filters, logs, retries, cache customization and other functions
Code Syntax Analysis
🤔 Provides syntax analysis and prompts for interface code declarations to help developers avoid using improper syntax when declaring interfaces
Quick Integration
🔒 Support OAuth2 and token management extension package to facilitate identity authentication and authorization
Auto-generate Code
💻 Provides a dotnet tool that supports parsing local or remote OpenAPI documents, generating WebApiClientCore interface code, and simplifying the workload of interface declaration.
High Performance
🚀 In BenchmarkDotNet, the performance and allocation under various requests are 2.X times ahead of similar products Refit
👯 Contributors
Thanks to the following contributors for improving the project
Thanks to the following contributors for enhancing the documentation
☕Support Us
If you find WebApiClient helpful, please consider supporting us
Support the author for more great work
Thanks for maintaining the documentation