Install ruby-websocket-parser by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-websocket-parser
Description:
RFC6455 compliant parser for websocket messages
WebsocketParser is a RFC6455 compliant parser for websocket messages written in Ruby. It is intended to write websockets servers in Ruby, but it only handles the parsing of the WebSocket protocol, leaving I/O to the server.
Homepage: http://github.com/afcapel/websocket_parser
Version: 1.0.0-1
Section: universe/ruby