PHP flush() function and content-type: text/event-stream -
What I think, this function - flush () - pushes the output to the browser. Suppose I have a code of 30 seamod lines and put a flush on the 15th row, the server will push the 14th line or explain the code for my browser? would it be? This question arises because I am trying to use HTML 5 SSE. It is an idea that when there is no need to send a request to the server, the server sends updates to the server to update the update.
Comments
Post a Comment