Skip to content

Commit

Permalink
Update sample README
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Mar 28, 2024
1 parent 6e41d72 commit 60fc58b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion samples/Websocket_Client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ Websocket Client

This is a simple demo of the WebsocketClient class.

The client tries to connect to *echo.websocket.org*.
The client tries to connect to a websocket echo server.
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.

The sample was originally written to communicate with *echo.websocket.org*
but that service no longer exists.
Instead, run ``make wsserver`` to run a local test server.
This has the advantage of showing detailed diagnostic information which may be helpful.

0 comments on commit 60fc58b

Please sign in to comment.