local copas = require "copas" local WebSocketClient = require('websocket') local client = WebSocketClient.new({ uri = "http://localhost:3000", }) copas.loop()