Why can't PHP maintain a long connection when using Sever-Sent Event? Instead, it disconnects immediately after returning data.
无乐
无乐 2020-01-03 17:05:25
0
0
940

As the title states, when PHP uses SSE, every time the connection is successful, data is returned, and then the connection is interrupted. Originally, SSE should maintain a long connection, and then return new data to the front end if the data changes. Why can't you maintain a long connection?D5D91E7P0RA{~ZUC5R0`{NA.pngThe browser also enables long connectionsAVB74GPRD@PF)1L~{18%WBT.pngP]63N8ZVSOGG(SYVYH`S9NU.png9[~JB`_~070ZKBBG58XNAAE.png



无乐
无乐

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!