-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Closed
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Adam Granger opened SPR-12475 and commented
The changes made on #16907
(4a29e16#diff-7bc1370febf168db39f9b3a608f68fe8) only adds support for receiving websocket messages from a client.
I would like to see support for binary messages from server to client - the method handleMessageToClient(...). Currently this only supports the one case, TextMessage
byte[] bytes = this.stompEncoder.encode(stompAccessor.getMessageHeaders(), (byte[]) message.getPayload());
session.sendMessage(new TextMessage(bytes));
Affects: 4.1.2
Reference URL: http://stackoverflow.com/questions/26213819/is-it-possible-to-send-binary-data-with-stomp-over-websockets-using-spring-webso
Issue Links:
- Allow binary WebSocket messages in StompSubProtocolHandler [SPR-12301] #16907 Allow binary WebSocket messages in StompSubProtocolHandler
Referenced from: commits 670974d, 51367de
1 votes, 7 watchers
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement