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

Add support for changing ws binary type #21

Merged
merged 4 commits into from
Sep 17, 2018

Conversation

ikhalikov
Copy link
Contributor

These code changes allow to define which binary type will be used for WS connection (and corresponding message processing with type conversion ArrayBuffer -> Buffer). Using 'arraybuffer' basically fixes issues like mikemintz/rethinkdb-websocket-server#19 by doing type conversion in a sync way (unlike from blobToBuffer call)

@mikemintz
Copy link
Owner

LGTM, thanks for the contribution!

@mikemintz mikemintz merged commit ef7ebce into mikemintz:master Sep 17, 2018
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.

2 participants