Skip to content

Lift restriction to use JSON for communication #20

Closed
@Drenmi

Description

@Drenmi

Hello, @ioquatix!

Firstly, thanks for all your work on the async project. I am very excited to see progress in these areas of the Ruby ecosystem. ❤️

Now for my question. I was playing around with async-websocket over the weekend, and the first experiment resulted in an error, because the message I sent to the websocket server (just a single word) failed to parse as JSON.

Is the restriction to send and receive JSON intentional? If so, maybe it should be documented down in the README. If not, I would be open to help add configuration options for other formats like plain text, MessagePack, etc.

What do you think?

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