koreMoon

Kore io example with moonjs and websockets
git clone https://noulin.net/git/koreMoon.git
Log | Files | Refs | README | LICENSE

README.md (467B)


      1 Kore example websocket server
      2 
      3 Run:
      4 ```
      5 	# kodev run
      6 ```
      7 
      8 Test:
      9 ```
     10 	Open a browser that does websockets, surf to https://127.0.0.1:8888
     11 	or whatever configured IP you have in the config.
     12 
     13 	Hit the connect button to open a websocket session, open a second
     14 	tab and surf to the same address and hit the connection button there
     15 	as well. This should cause the number of messages sent/recv to keep
     16 	incrementing as each message is broadcast to the other connection.
     17 ```