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
Describe the bug
I try to report progress for a long running operation. My implementation is based on how i would implment it on ASP.Net Core
Unfortunately it does not work. How should I implement something like this for embedio?
**Desktop
OS: Windows
Browser Edge
Version 3.5.2.0
[Route(HttpVerbs.Any, "/import")]
public async Task ImportPrjAsync([QueryData] NameValueCollection parameters)
{
Response.StatusCode = 200;
Response.ContentType = "text/event-stream";
Response.ContentLength64 = 10;
var sw = new StreamWriter(HttpContext.Response.OutputStream);
for (var i = 0; i < 10; i++)
{
await Task.Delay(1000);
await sw.WriteAsync("1");
await sw.FlushAsync();
}
}
The text was updated successfully, but these errors were encountered:
Describe the bug
I try to report progress for a long running operation. My implementation is based on how i would implment it on ASP.Net Core
Unfortunately it does not work. How should I implement something like this for embedio?
**Desktop
The text was updated successfully, but these errors were encountered: