Skip to content

Sending ArrayBuffer is very awkward #157

@pentacular

Description

@pentacular

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions