https://github.com/dotnetcore/WebApiClient
A REST API library with better functionality, performance, and scalability than refit
https://github.com/dotnetcore/WebApiClient
client form httpclient json json-rpc-client oauth2-client openapi refit restful retrofit swagger webapi webclient xml
Last synced: 8 months ago
JSON representation
A REST API library with better functionality, performance, and scalability than refit
- Host: GitHub
- URL: https://github.com/dotnetcore/WebApiClient
- Owner: dotnetcore
- License: mit
- Created: 2017-03-28T05:24:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-28T07:38:21.000Z (12 months ago)
- Last Synced: 2024-12-30T21:15:52.727Z (11 months ago)
- Topics: client, form, httpclient, json, json-rpc-client, oauth2-client, openapi, refit, restful, retrofit, swagger, webapi, webclient, xml
- Language: C#
- Homepage: https://webapiclient.github.io/
- Size: 7.68 MB
- Stars: 2,064
- Watchers: 111
- Forks: 444
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awsome-dotnet - WebApiClient
- awesome-csharp - WebApiClient
- fucking-awesome-dotnet - WebApiClient
README
[README](README.md) | [中文文档](README_zh.md)
## 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](WebApiClientCore.Benchmarks/results), the performance is 2.X times ahead of the similar product [refit](https://github.com/reactiveui/refit) under various requests.
### Documentation support
[https://webapiclient.github.io/](https://webapiclient.github.io/en/)