Persilsoft.HttpDelegatingHandlers
1.0.16
See the version list below for details.
dotnet add package Persilsoft.HttpDelegatingHandlers --version 1.0.16
NuGet\Install-Package Persilsoft.HttpDelegatingHandlers -Version 1.0.16
<PackageReference Include="Persilsoft.HttpDelegatingHandlers" Version="1.0.16" />
paket add Persilsoft.HttpDelegatingHandlers --version 1.0.16
#r "nuget: Persilsoft.HttpDelegatingHandlers, 1.0.16"
// Install Persilsoft.HttpDelegatingHandlers as a Cake Addin #addin nuget:?package=Persilsoft.HttpDelegatingHandlers&version=1.0.16 // Install Persilsoft.HttpDelegatingHandlers as a Cake Tool #tool nuget:?package=Persilsoft.HttpDelegatingHandlers&version=1.0.16
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 | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (= 8.0.2)
- Microsoft.JSInterop (= 8.0.10)
- Persilsoft.Shared (= 1.0.1)
NuGet packages (3)
Showing the top 3 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.Sms.MDY.Sender
Contains an interface to be used in an SMS sending project using the MDY provider |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.17 | 235 | 10/16/2024 |
1.0.16 | 126 | 10/16/2024 |
1.0.15 | 90 | 10/15/2024 |
1.0.14 | 132 | 10/13/2024 |
1.0.13 | 258 | 8/28/2024 |
1.0.12 | 208 | 8/17/2024 |
1.0.11 | 144 | 7/29/2024 |
1.0.10 | 315 | 7/20/2024 |
1.0.9 | 446 | 5/25/2024 |
1.0.8 | 147 | 5/25/2024 |
1.0.7 | 165 | 5/22/2024 |
1.0.6 | 279 | 5/18/2024 |
1.0.5 | 148 | 5/18/2024 |
1.0.4 | 102 | 5/18/2024 |
1.0.3 | 325 | 5/17/2024 |
1.0.2 | 292 | 5/4/2024 |
1.0.1 | 124 | 5/1/2024 |
1.0.0 | 154 | 4/14/2024 |