You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am using google's smart websocket client to test my websocket server.
after connecting and pressing the button 'disconnect', i would expect that this button should turn into 'connect'. instead, it still shows 'disconnect'.
from logs, it seems that CloseWebSocketFrame bytes are never reach the client.
my configuration
@Bean
public HandlerMapping webSocketMapping() {
Map<String, WebSocketHandler> map = new HashMap<>();
map.put("/wsticker", (session) ->
session.send(
session.receive()
.map(WebSocketMessage::retain)));
SimpleUrlHandlerMapping mapping = new SimpleUrlHandlerMapping();
mapping.setUrlMap(map);
mapping.setOrder(10);
return mapping;
}
@Bean
public WebSocketHandlerAdapter handlerAdapter() {
return new WebSocketHandlerAdapter();
}
Hi,
i am using google's smart websocket client to test my websocket server.
after connecting and pressing the button 'disconnect', i would expect that this button should turn into 'connect'. instead, it still shows 'disconnect'.
from logs, it seems that CloseWebSocketFrame bytes are never reach the client.
my configuration
logs
thanks
B.
The text was updated successfully, but these errors were encountered: