Add websocket transport
This commit is contained in:
parent
601ba59971
commit
978a669d16
13 changed files with 250 additions and 78 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<script src="/socket.io/socket.io.js"></script>
|
||||
<script>
|
||||
var socket = io('http://localhost');
|
||||
var socket = io('//localhost');
|
||||
var chat = io('/chat');
|
||||
var news = io('/news');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue