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

Data is lost / modified if server sends binary data #192

Open
andrewdittmer opened this issue Dec 3, 2020 · 0 comments
Open

Data is lost / modified if server sends binary data #192

andrewdittmer opened this issue Dec 3, 2020 · 0 comments

Comments

@andrewdittmer
Copy link

If server sends binary data with content type application/octet-stream, this data can be lost / incomplete after being converted to a string.

Perhaps StompMessage could contain a bytearray field of the original data sent?

Steps to reproduce:
Server sends binary data which includes signed int.

Expected outcome:
There should be a way to get the data as originally sent

Actual result:
in the subscribe callback, the correct data cannot be retrieved from the stompMessage payload due to character encoding.

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