Refit
Refit is an open-source library for the .NET platform that enables type-safe consumption of RESTful web services by defining an interface whose methods map to API endpoints. Inspired by Retrofit for Android, Refit generates a concrete implementation at runtime from an annotated interface, streamlining HTTP communication and JSON (or other) serialization.
In practice, developers declare an interface with methods annotated by HTTP verbs and routes. Parameters are
Key features include type-safe API clients, attribute-driven routing, support for headers and various parameter bindings, cancellation
History and usage: Refit was developed as an open-source project by members of the .NET community and
See also: Retrofit, RestSharp, HttpClient.
References and documentation are available through the project’s repository and official documentation, which detail installation via