Websockets

From Bitpost wiki
Revision as of 16:08, 18 November 2016 by M (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 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
  • Chrome Simple Web Socket Client extention - go to options, send ws messages - works to connect to wst
url: wss://localhost:9020
Location: wss://localhost:9020