WebSocketServerProtocolHandler不是處理http升級websocket,還有心跳的嗎,怎么還要自己再寫處理http請求的邏輯呢,那WebSocketServerProtocolHandler到底起了什么作用呢
WebSocketServerProtocolHandler不是處理http升級websocket,還有心跳的嗎,怎么還要自己再寫處理http請求的邏輯呢,那WebSocketServerProtocolHandler到底起了什么作用呢
WebSocketServerProtocolHandler不是處理http升級websocket,還有心跳的嗎,怎么還要自己再寫處理http請求的邏輯呢,那WebSocketServerProtocolHandler到底起了什么作用呢
2019-02-18
舉報
2019-05-14
剛開始的WS請求是封裝在HTTP里的,HTTP頭部包含Upgrade:websocket。必須處理此HTTP請求
2019-04-28
WebSocketServerProtocolHandler
處理了心跳,但是文本和二進(jìn)制數(shù)據(jù)需要自己處理