Netty-socketio Demo
Demo for Netty-socketio project.
Usage example
Build or install Netty-socketio lib to your maven repository.
mvn clean install
Switch to /server folder and build server by maven.
Run server by command
mvn exec:java
Run client in browser, by opening* file /client/index.html
Note about Chrome and IE browsers
If you want to open index.html in Chrome or IE browser you need to host it somewhere (nginx or apache, for example),
or page will not work due to absence of correct "origin" http header.
Demo scenarios
By default you will run a chat which communcate with server via json objects.
There are several demo scenarios available:
Class - Web client page
com.corundumstudio.socketio.demo.ChatLauncher - /client/index.html
com.corundumstudio.socketio.demo.EventChatLauncher - /client/