websocket.adoc (spring-framework-5.3.23) | : | websocket.adoc (spring-framework-5.3.24) | ||
---|---|---|---|---|
skipping to change at line 889 | skipping to change at line 889 | |||
MESSAGE | MESSAGE | |||
message-id:nxahklf6-1 | message-id:nxahklf6-1 | |||
subscription:sub-1 | subscription:sub-1 | |||
destination:/topic/price.stock.MMM | destination:/topic/price.stock.MMM | |||
{"ticker":"MMM","price":129.45}^@ | {"ticker":"MMM","price":129.45}^@ | |||
---- | ---- | |||
A server cannot send unsolicited messages. All messages | A server cannot send unsolicited messages. All messages | |||
from a server must be in response to a specific client subscription, and the | from a server must be in response to a specific client subscription, and the | |||
`subscription-id` header of the server message must match the `id` header of the | `subscription` header of the server message must match the `id` header of the | |||
client subscription. | client subscription. | |||
The preceding overview is intended to provide the most basic understanding of th e | The preceding overview is intended to provide the most basic understanding of th e | |||
STOMP protocol. We recommended reviewing the protocol | STOMP protocol. We recommended reviewing the protocol | |||
https://stomp.github.io/stomp-specification-1.2.html[specification] in full. | https://stomp.github.io/stomp-specification-1.2.html[specification] in full. | |||
[[websocket-stomp-benefits]] | [[websocket-stomp-benefits]] | |||
=== Benefits | === Benefits | |||
Using STOMP as a sub-protocol lets the Spring Framework and Spring Security | Using STOMP as a sub-protocol lets the Spring Framework and Spring Security | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |