Microsoft.Extensions.Http integration for Refit, adding AddRefitClient support for typed HttpClientFactory clients, dependency injection, handlers, and Polly-style HTTP pipelines.
Info
| Version: | 12.0.0 |
| Author(s): | .NET Foundation and Contributors |
| Last Update: | Wednesday, June 24, 2026 |
| .NET Fiddle: | Online Example |
| Project Url: | https://github.com/reactiveui/refit |
| NuGet Url: | https://www.nuget.org/packages/Refit.HttpClientFactory |
Install
Install-Package Refit.HttpClientFactory
dotnet add package Refit.HttpClientFactory
paket add Refit.HttpClientFactory
Refit.HttpClientFactory Download (Unzip the "nupkg" after downloading)
Dependencies
- Refit(>= 5.2.4)
- Microsoft.Extensions.Http(>= 3.1.7)