OpenShift WebSocket Preview
If by the time you're reading this WebSockets are still in the preview stage for OpenShift (meaning socket.io reverts to XHR-Long-polling in your app), simply modify your socket.io connect URL to include port 8443 for wss:// connections, or port 8000 for ws:// connections.
<script src="https://myApp-myNameSpace.rhcloud.com:8443/socket.io/socket.io.js"></script>
io.connect('https://myApp-myNameSpace.rhcloud.com:8443');
Written by Juan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Websockets
Authors
Related Tags
#websockets
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#