Skip to content

pixelbender/ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Command line WebSocket client

Simple tool that connects to WebSocket and pipes stdin/stdout to/from it.
Text mode messages are separated by \n, in binary mode bytes transmitted as-is.

Example

Install

go get github.com/pixelbender/ws

Example

# ws wss://echo.websocket.org <<< hello
Connected: wss://echo.websocket.org
hello

Usage

ws [options] url
  -binary
    	Binary mode
  -origin string
    	Origin
  -protocol string
    	Protocol

About

Command line WebSocket client that pipes stdin/stdout

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages