Add support for binary frames, both from stdin to the server, and from the server to stdout
Adds a new argument, -b, --binary. This turns wsta into sending binary mode. Everything from stdin will then be parsed as binary, and sent in 256B frames. You can increase or decrease this frame size using the environment variable WSTA_BINARY_FRAME_SIZE.
See #5
Also closes #4
The merge diff is a bit messy because I rebased the rust-everywhere branch, but this branch is not aware of it.
Add support for binary frames, both from stdin to the server, and from the server to stdout
Adds a new argument,
-b, --binary
. This turnswsta
into sending binary mode. Everything from stdin will then be parsed as binary, and sent in 256B frames. You can increase or decrease this frame size using the environment variableWSTA_BINARY_FRAME_SIZE
.See #5
Also closes #4
The merge diff is a bit messy because I rebased the
rust-everywhere
branch, but this branch is not aware of it.