This is a simple demo of the WebsocketClient class.
The client tries to connect to echo.websocket.org. It sents 10 messages then client connection is closed. It reconnects and sends 25 messages and continues doing same.
This demo shows connection, closing and reconnection methods of WebsocketClient.