jasonrbriggs / stomp.py

“stomp.py” is a Python client library for accessing messaging servers (such as ActiveMQ or RabbitMQ) using the STOMP protocol (versions 1.0, 1.1 and 1.2). It can also be run as a standalone, command-line client for testing.
Apache License 2.0
491 stars 167 forks source link

[#417] Add support for sending/receiving binary websocket messages #419

Closed christopherjameshoward closed 1 year ago

christopherjameshoward commented 1 year ago

Adds support for the sending and receiving of binary websocket messages.

There are two aspects to the fix:

christopherjameshoward commented 1 year ago

https://github.com/jasonrbriggs/stomp.py/pull/422 has fixed one aspect of this (the receiving of binary messages) in a different way. However, that PR is still decoding and then re-encoding the data, which I would argue is unnecessary.

Also, that PR doesn't handle sending of binary messages.