kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
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.