Websockets: Difference between revisions
(Created page with "=== Tools === * wst: my node websocket server cd development/websocket-tester npm install -g wst 9020 Starting test websockets SSL server: wss://0.0.0.0:9020 NOTE: YOU...") |
No edit summary |
||
Line 1: | Line 1: | ||
=== Tools === | === Tools === | ||
* | * SERVER websockets-tester, my node-based websocket server | ||
cd development/websocket-tester | cd development/websocket-tester | ||
npm install -g | npm install -g | ||
Line 7: | Line 7: | ||
NOTE: YOU MUST FIRST BROWSE to https://0.0.0.0:9020 to accept the self-signed cert. | NOTE: YOU MUST FIRST BROWSE to https://0.0.0.0:9020 to accept the self-signed cert. | ||
# acually use localhost, not 0.0.0.0, to connect from most client tools | # acually use localhost, not 0.0.0.0, to connect from most client tools | ||
* Chrome Simple Web Socket Client extention - go to options, send ws messages - works to connect to wst | * CLIENT Chrome Simple Web Socket Client extention - go to options, send ws messages - works to connect to wst | ||
url: wss://localhost:9020 | url: wss://localhost:9020 | ||
* [http://www.websocket.org/echo.html Websocket.org Echo Test] | * CLIENT [http://www.websocket.org/echo.html Websocket.org Echo Test] (open in a new tab) | ||
Location: wss://localhost:9020 | Location: wss://localhost:9020 |
Latest revision as of 16:11, 18 November 2016
Tools
- SERVER websockets-tester, my node-based websocket server
cd development/websocket-tester npm install -g wst 9020 Starting test websockets SSL server: wss://0.0.0.0:9020 NOTE: YOU MUST FIRST BROWSE to https://0.0.0.0:9020 to accept the self-signed cert. # acually use localhost, not 0.0.0.0, to connect from most client tools
- CLIENT Chrome Simple Web Socket Client extention - go to options, send ws messages - works to connect to wst
url: wss://localhost:9020
- CLIENT Websocket.org Echo Test (open in a new tab)
Location: wss://localhost:9020