Skip to content

Instantly share code, notes, and snippets.

@scottgarner
Created September 2, 2016 17:20
Show Gist options
  • Save scottgarner/bbe19d545bab91cf8a577014b8916e4d to your computer and use it in GitHub Desktop.
Save scottgarner/bbe19d545bab91cf8a577014b8916e4d to your computer and use it in GitHub Desktop.
Example holocaust-server client.
<script src="http://holocast-server.herokuapp.com/socket.io/socket.io.js"></script>
<script>
var socket = io('http://holocast-server.herokuapp.com/');
socket.on('Update', function (data) {
console.log(data);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment