DefinitelyTyped/sockjs
matt 490f118b57 SockJS can be instantiated with just a URL
see: https://github.com/sockjs/sockjs-client

example copied from their README:
```
var sock = new SockJS('http://mydomain.com/my_prefix');
sock.onopen = function() {
    console.log('open');
};
sock.onmessage = function(e) {
    console.log('message', e.data);
};
sock.onclose = function() {
    console.log('close');
};

sock.send('test');
sock.close();
```
2014-11-22 15:39:54 -08:00
..
sockjs.d.ts SockJS can be instantiated with just a URL 2014-11-22 15:39:54 -08:00