Persilsoft.HttpDelegatingHandlers
1.0.20
dotnet add package Persilsoft.HttpDelegatingHandlers --version 1.0.20
NuGet\Install-Package Persilsoft.HttpDelegatingHandlers -Version 1.0.20
<PackageReference Include="Persilsoft.HttpDelegatingHandlers" Version="1.0.20" />
<PackageVersion Include="Persilsoft.HttpDelegatingHandlers" Version="1.0.20" />
<PackageReference Include="Persilsoft.HttpDelegatingHandlers" />
paket add Persilsoft.HttpDelegatingHandlers --version 1.0.20
#r "nuget: Persilsoft.HttpDelegatingHandlers, 1.0.20"
#:package Persilsoft.HttpDelegatingHandlers@1.0.20
#addin nuget:?package=Persilsoft.HttpDelegatingHandlers&version=1.0.20
#tool nuget:?package=Persilsoft.HttpDelegatingHandlers&version=1.0.20
Persilsoft.HttpDelegatingHandlers
Provides an exception handler for HTTP requests.
Example
First, you need to register the handler, then add the http handler to the HttpClient
using Persilsoft.HttpDelegatingHandlers;
using ServiceCollectionExtensions;
services.AddExceptionDelegatingHandler();
services.AddHttpClient("Persilsoft", httpClient =>
{
httpClient.BaseAddress = new Uri("https://api.persilsoft.com/");
}).AddHttpMessageHandler<ExceptionDelegatingHandler>();
The handler will throw an HttpRequestException.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Microsoft.Extensions.DependencyInjection.Abstractions (= 9.0.4)
- Microsoft.JSInterop (= 9.0.4)
- Persilsoft.Shared (= 1.0.4)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Persilsoft.HttpDelegatingHandlers:
Package | Downloads |
---|---|
Persilsoft.Recaptcha.Blazor
Exposes a service that allows you to obtain a reCAPTCHA token and validate that token through a verification endpoint that you need to add to your backend |
|
Persilsoft.Localizer.Blazor
A simple localization tool for Blazor apps |
|
Persilsoft.Culqi.Blazor
Proporciona un botón como componente para abrir la interfaz de Culqi Checkout. |
|
Persilsoft.Sms.MDY.Sender
Contains an interface to be used in an SMS sending project using the MDY provider |
|
Persilsoft.Turnstile.Blazor
Exposes a service that allows you to obtain a Turnstile token and validate that token through a verification endpoint that you need to add to your backend |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.20 | 502 | 5/2/2025 |
1.0.19 | 306 | 4/13/2025 |
1.0.18 | 226 | 4/12/2025 |
1.0.17 | 893 | 10/16/2024 |
1.0.16 | 162 | 10/16/2024 |
1.0.15 | 120 | 10/15/2024 |
1.0.14 | 162 | 10/13/2024 |
1.0.13 | 284 | 8/28/2024 |
1.0.12 | 231 | 8/17/2024 |
1.0.11 | 166 | 7/29/2024 |
1.0.10 | 348 | 7/20/2024 |
1.0.9 | 468 | 5/25/2024 |
1.0.8 | 174 | 5/25/2024 |
1.0.7 | 188 | 5/22/2024 |
1.0.6 | 302 | 5/18/2024 |
1.0.5 | 173 | 5/18/2024 |
1.0.4 | 124 | 5/18/2024 |
1.0.3 | 349 | 5/17/2024 |
1.0.2 | 324 | 5/4/2024 |
1.0.1 | 147 | 5/1/2024 |
1.0.0 | 174 | 4/14/2024 |