Skip to content

I have an IAsyncenumerable network request. But only refresh the UI after the response is completed #63342

Answered by campersau
zms9110750 asked this question in Q&A
Discussion options

You must be logged in to vote

If you are using blazor webassembly try to also set request.SetBrowserResponseStreamingEnabled(true);
See https://learn.microsoft.com/en-us/aspnet/core/blazor/call-web-api?view=aspnetcore-9.0#httpclient-and-httprequestmessage-with-fetch-api-request-options
With .NET 10 it will be the default: dotnet/runtime#112442

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zms9110750
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area-blazor Includes: Blazor, Razor Components
2 participants