This example contains:
- Websockets Web Client: index.html
- Websockets Server: app.js
- Jasonette markup that uses
index.htmlas an agent: app.json
Try it out
Since this example requires a server, you can try the deployed versiont at http://wsjason.herokuapp.com/.
First check that the websocket chat works between multiple different browsers.
Then open app.json on Jasonette to make it run as a Jasonette native app.
To try on your own server
Open app.json and just change the
$jason.head.agents.ws.url to your agent HTML URL.