Toolbelt.Blazor.HttpClientInterceptor
Toolbelt.Blazor.HttpClientInterceptor copied to clipboard
Intercept all of the sending HTTP requests on a client side Blazor application.
I am using the BlazorServer side project. i have created a HttpInterfaceService and created the AfterSendAsync and also removed the same in the disposeevent. This is working fine, but it...
Trying to get it to work using the IHttpClientFactory. I am getting null in the HttpClientInterceptorEventArgs e argument. ``` public static async Task Main(string[] args) { var b = WebAssemblyHostBuilder.CreateDefault(args);...
```csharp var captured = await e.GetCapturedContentAsync(); ``` this statement in interceptor and reading response in `_structureClient.SetAsync(setStructureCommand)` like this in page also.. so it is throwing error for already read stream.
Hi, Using interceptor how to distinguish between server is not responding or client connection is problem.
The Library is now compatible with .NET 8 (and .NET 6). - Removed large dependency on Microsoft.AspNetCore.Components.WebAssembly package in favour of smaller Abstractions packages, this also fixed the warning people...
with the introduction of dotnet 9 preview 6 SDK and the new transitive dependency checker it came to my attention that Toolbelt.Blazor.HttpClientInterceptor uses an out of date version of System.Text.Json....