open-access-control-api/index.html
2019-07-06 20:59:45 -07:00

15 lines
360 B
HTML

<html>
<head>
<script src="/socket.io/socket.io.js"></script>
<script>
var socket = io();
console.log("loaded socketio");
socket.on('connect', function(){
socket.send('hi');
socket.on('data', function(data){
console.log(data);
});
});
</script>
</head>
</html>