docker_deployment_notes/shinobi/ShinobiHub - Article How to use Additional Input Feeds_files/clientArea.js

13 lines
331 B
JavaScript
Raw Normal View History

$(document).ready(function(){
console.log('<%- config.webPageTitle %> : Attaching Socket.IO Handler')
$.webSocket = io({
transports: ['websocket']
})
$.webSocket.on('connect',function(d){
console.log('Websocket Connected')
})
$.webSocket.on('f',function(d){
console.log(d)
})
})