You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i send a post request with HttpClient.PostAsync(requestUri,content,cancellationToken) and i also pass the cancellationToken-parameter CancellationTokenSource = new CancellationTokenSource(3000).Token; the Task is cancelled after three seconds.
But when I look in the network tab, the request is still pending (in firefox 81.0). with my code the problem is not occurring in chrome
using Blazor WASM .NET Core 3.1
What can I do, that the request is also canceled in firefox?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
when i send a post request with
HttpClient.PostAsync(requestUri,content,cancellationToken)
and i also pass the cancellationToken-parameterCancellationTokenSource = new CancellationTokenSource(3000).Token;
the Task is cancelled after three seconds.But when I look in the network tab, the request is still pending (in firefox 81.0).
with my code the problem is not occurring in chrome
using Blazor WASM .NET Core 3.1
What can I do, that the request is also canceled in firefox?
Beta Was this translation helpful? Give feedback.
All reactions