eliihen / wsta

A CLI development tool for WebSocket APIs
GNU General Public License v3.0
631 stars 19 forks source link

Binary data #7

Closed eliihen closed 8 years ago

eliihen commented 8 years ago

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.