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

feat(node, uws): automatically detect binary message type #53

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jul 31, 2024

resolves #37 (followup on #39)

Node and UWS expect to explicitly flag binary responses. This PR fixes this by simple typeof check also adds more type compact for number/boolean types

@pi0 pi0 self-assigned this Jul 31, 2024
@pi0 pi0 merged commit 1bbb05f into main Jul 31, 2024
3 checks passed
@pi0 pi0 deleted the feat/auto-bin branch August 7, 2024 09:28
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.

Sending a binary message ends up as string instead of Blob or ArrayBuffer
1 participant