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

Sending ArrayBuffer is very awkward #157

Open
pentacular opened this issue Apr 17, 2024 · 0 comments
Open

Sending ArrayBuffer is very awkward #157

pentacular opened this issue Apr 17, 2024 · 0 comments

Comments

@pentacular
Copy link

I can't find a good way to send ArrayBuffer data.

The only solution I've found that works is to convert to text and wrap in an object.

Ideally we would be able to send the ArrayBuffer directly, and have DataPack handle this.

But this is complicated as the rpc-websockets protocol is also using DataPack so changes here can break communication.

How about separating DataPack for rpc-websockets protocol from client data packing?

And allowing per-registered method options for DataPack?

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

No branches or pull requests

1 participant