Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@einaros
Created December 9, 2011 15:35
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save einaros/1452010 to your computer and use it in GitHub Desktop.
Save einaros/1452010 to your computer and use it in GitHub Desktop.
wscat example
$ npm install -g ws
$ wscat -c ws://echo.websocket.org -p 8
connected (press CTRL+C to quit)
> hi there
< hi there
> are you a happy parrot?
< are you a happy parrot?
@MichielDeMey
Copy link

wscat moved to a separate module, we should change npm install -g ws to npm install -g wscat.

@alierdogan7
Copy link

You saved my day Michiel, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment