3.1 WebSocket Demo Script Brought to you by: the Grizzly team Setup
- Enable websockets support: asadmin set configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.websockets-support-enabled=true
- Increase keep-alive timeouts: asadmin set configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.timeout-seconds=900
- This isn't necessary post-MS2
- Deploy chat sample:
- Load http://localhost:8080/grizzly-websockets-chat
This chat requires a websockets enabled browser so it must be done with either Google Chrome or Safari for now.
|