Related questions
Shall I use WebSocket on ports other than 80?
Shall I use WebSocket on non-80 ports? Does it ruin the whole purpose of using existing web/HTTP infrastructures? And I think it no longer fits the name WebSocket on non-80 ports.
If I use WebSocket over other ports, why …
I get a status 200 when connecting to the websocket, but it is an error?
My error shows up in the console of my browser:
"WebSocket connection to 'ws://localhost:32768/DspClusterWebServices/myHandler' failed: Unexpected response code: 200"
I am using Spring Websockets 4.1.5 and Tomcat 8.0.18. My WebSocketConfigurer implementation class looks like:
@Configuration
@Controller
@EnableWebSocket
public class WebSocketConfig …
How WebSocket server handles multiple incoming connection requests?
According to here:
The HTTP Upgrade header requests that the server switch the
application-layer protocol from HTTP to the WebSocket protocol.
The client handshake established a HTTP-on-TCP connection between IE10
and server. After the server returns its 101 response, the
application-layer …