Spring-websocket



http://host:port/myApp/myEndpoint/{server-id}/{session-id}/{transport}
  • {server-id} - useful for routing requests in a cluster but not used otherwise.

  • {session-id} - correlates HTTP requests belonging to a SockJS session.

  • {transport} - indicates the transport type, e.g. "websocket", "xhr-streaming", etc.

原文地址:https://www.cnblogs.com/yuyutianxia/p/5568116.html