Skip to content

support binary where possible? #74

Open
@dominictarr

Description

@dominictarr

One great thing about websockets is that it supports binary.
so do some of the other fallbacks, but not all.

What if you allowed binary on those that do,
perhaps wrapping messages in say, the redis protocol?

(as it's binary friendly and there are likely to be implementations in most languages)

Here is one is javascript:
https://github.com/mranney/node_redis/blob/master/lib/parser/javascript.js

Where binary is not supported, using base64 encoding.
That expands the messages, but currently, if you wish to do binary over sockjs, you have to use base64 anyway.

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