wsyeet

Crates.iowsyeet
lib.rswsyeet
version0.2.1
sourcesrc
created_at2023-06-13 00:24:20.791449
updated_at2023-06-13 00:43:08.242257
descriptionYeets a file's content line-by-line to WebSocket
homepage
repository
max_upload_size
id888575
size80,761
Chayut Liewlom (VirtuousCrane)

documentation

README

wsyeet

Reads data from a file and sends it to a websocket port line by line

Usage Example

wsyeet --host 0.0.0.0 --port 9999 --file ./mock_data.txt --verbose --freq 200

Options

-h,--help

  • Opens the help message and exit

-v,--verbose

  • Show log messages

-H,--host HOST

  • The WebSocket host address. Defaults to 127.0.0.1

-p,--port PORT

  • Sets the WebSocket port to send to. Defaults to 8888

-f,--file FILE

  • The file path to be read from.

-F,--freq FREQ

  • The frequency to send the data in ms. Defauls to 1000ms.
Commit count: 0

cargo fmt