Client/server WebSocket message and frame parser/constructor. This module does
not provide a WebSocket server or client, but is made for using in http servers
or clients to provide WebSocket support.
Protocol::WebSocket supports the following WebSocket protocol versions:
By default the latest version is used. The WebSocket version is detected
automatically on the server side. On the client side you have set a version
attribute to an appropriate value.
Protocol::WebSocket itself does not contain any code and cannot be used
directly. Instead the following modules should be used: