Read server streaming data using jQuery

夙愿已清 提交于 2019-12-13 06:59:37

问题


This is my original question SailsJS stream status from backend to frontend

This question led me to this, Now the server is streaming these information perfectly but I cannot get this streamed data from the server to be read by jQuery before the RESPOSE from the server is finished. ( In sailsJS it is res.end() )

So this is not the way i want it. I need jQuery to tell me 1/1000 is complted when the server send that information from the backend. and next tell me 2/1000 is completed.

Hope you understand what im asking of you.

Cheers.

来源:https://stackoverflow.com/questions/28436353/read-server-streaming-data-using-jquery

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!