kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

README.md (330B)



      1 This example demonstrates SSE (Server Side Events) in Kore.
      2 
      3 Run:
      4 ```
      5 	$ kodev run
      6 ```
      7 
      8 Test (run different times to see the events broadcast):
      9 ```
     10 	curl -H 'accept: text/event-stream' -ik https://127.0.0.1:8888/subscribe
     11 ```
     12 
     13 If you point a browser to https://127.0.0.1:8888 you will see
     14 a small log of what events are arriving.