Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary data #7

Merged
merged 12 commits into from
Jun 3, 2016
Merged

Binary data #7

merged 12 commits into from
Jun 3, 2016

Conversation

eliihen
Copy link
Owner

@eliihen eliihen commented Jun 3, 2016

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.

@eliihen eliihen merged commit 146a2af into master Jun 3, 2016
@eliihen eliihen deleted the binary-data branch June 3, 2016 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write everything that is not websocket frames to stderr
1 participant