-
Notifications
You must be signed in to change notification settings - Fork 28
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
WebSocket writes are binary only #85
Labels
Milestone
Comments
@freynder are you interested in contributing an improvement ? |
@vietj I'm interested, but looks like this is not a small task and may require core breaking changes as well (to support on the receiving side):
An alternative is to only concentrate on the sending part. That part should be rather simple and less invasive. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to send a JSON payload with websocket transport from server to client. The message is always sent as binary, even though the payload is text. This may cause compatibility issues with other libraries that expect text payloads for content type
application/json
, such as Krossbow. At least we should be able to specify the desired payload type.I traced the call stack to
StompServerWebSocketConnectionImpl::write
which callssocket.writeBinaryMessage
, I don't see any possiblity to enforce sending as text.The text was updated successfully, but these errors were encountered: