Server Sent Events fx code example
1. SSE fx server first code example
fxserver1.php
Can also run it by type php fxserver1.php
in the terminal.
fxclient1.html
2. SSE fx pair
fxpair2.php
fxserver2.php
3. SSE fx ms code example
fxpair3.ms.php
fxserver3.ms.php
fxclient3.ms.html
4. SSE fx repeatable with datestamp code example
fxpair4.ms.php
fxserver4.datestamp.php
5. SSE fx push further beyond code example
fxpair5.ms.php
fxserver5.adjusting.php
fxserver5.adjusting_datestamp.php
fxclient5.adjusting.html
fxclient5.adjusting_ds.html
Reference :
-
Data Push Apps With HTML5 SSE: Pragmatic Solutions for Real-World Clients, Darren Cook, O’Reilly Media, Mar 2014. isbn:9781430264484, isbn:9781449371937, amazon:1449371930, google:7gYiAwAAQBAJ
Post by: Anonymoussc (@anonymoussc)Quality is never an accident. It is always the result of intelligent effort. - John Ruskin