wscli

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2022 License: MIT Imports: 12 Imported by: 0

README

wscli

command line interface to websockets for scriptable testing & integration

sample session

Installation

go install -v github.com/BourgeoisBear/wscli

Commands

Connect to Websocket
	\dial ws://127.0.0.1:8080/ws

Disconnect from Websocket
	\hup

Send Message (heredoc format)
	\msg [message terminator]
	message line 1
	message line 2
	message line 3
	[message terminator]

	(default terminator is a blank line if left unspecified)

Specify HTTP Headers
	Authorization: awo875pu84uj6paj436up
	Content-Type: application/json

List Specified HTTP Headers
	\hdrlst

Clear Specific HTTP Header (key without value)
	Authorization:

Clear All Specified HTTP Headers
	\hdrclr

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL