Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: df3e73eeb1
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (20 sloc) 0.632 kb
<!DOCTYPE html>
<title>Websocket Test</title>
<script src=""></script>
<script type="text/javascript"> = ""
Pusher.ws_port = "8080"
Pusher.log = function(data) {
console.log('\t\t', data);
var pusher = new Pusher('765ec374ae0a69f4ce44');
pusher.bind('pusher:error', function(data) { alert(data['message']) })
var myChannel = pusher.subscribe('MY_CHANNEL');
myChannel.bind('an_event', function(data) { alert('WOWEEWOWEEWOWEEE!') })
Jump to Line
Something went wrong with that request. Please try again.