wsget

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT

README

wsget

wsget is a command-line tool for interacting with a WebSocket server. It supports plain text and json messages, and can save the output of session into file.

Installation

To install wsget, you can use go install:

go install github.com/ksysoev/wsget/cmd/wsget

Usage

To use wsget, you need to specify the WebSocket URL using the -u flag:

wsget -u "wss://ws.postman-echo.com/raw"

By default, wsget will print the data received from the WebSocket server only to the console. You can also save the data to a file using the -o flag:

wsget -u "wss://ws.postman-echo.com/raw"  -o output.txt

Example of usage

License

wsget is licensed under the MIT License. See the LICENSE file for more information.

Directories

Path Synopsis
cmd
wsget command
pkg
cli
ws

Jump to

Keyboard shortcuts

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