WebSocket Chat
Last updated
Last updated
This recipe will help you to setup a basic WebSocket chat in your application.
First you need an amber project generated with or .
Then setup your socket file:
Then add the websocket
verb in your routes file:
Finally you will require an to connect with your server:
To serve static files you must enable :static
routes, please see .
Also see more detailed information about this in.