// add this on client side const socket = openSocket('http://localhost:8000', , {transports: ['websocket']});