Serial. Ws -

var socket = new WebSocket('ws://localhost:8080');