New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See the message coming from the server #2
Comments
One solution is to change the SendAsync method to:
and the eventhandlers to
|
I took this suggestion. Sorta seems that's how it should be in the first place. Makes this interceptor significantly more useful, unless I am not understanding the usefulness of |
Thank you for nice feedback! 👍 I published "Blazor WebAssembly (client-side) HttpClient Interceptor" v.6.1.0 that include the new feature suggested by @khamang ! See also: https://github.com/jsakamoto/Toolbelt.Blazor.HttpClientInterceptor/#the-arguments-of-event-handler |
So this should be fixed? I still get an error if I want to access the response content in the AfterSend. |
@TheSwerik Thank you for your reporting.
This thread is not an error report, this is a new feature proposal thread. I'll try to reproduce that problem later, and I'll try to fix it if I could reproduce it. |
Oh I thought this fits here, I will create a new and more detailed issue |
@TheSwerik Thanks! |
Is it possible to see the response message coming from the server and if so could to you post an example?
I am trying to use this to have on spot where I place the "error" toast so I need to be able to see when the request returns the error.
Thanks!
The text was updated successfully, but these errors were encountered: