Skip to content

Commit 938bfe8

Browse files
committed
update PONG message
1 parent 88f6d6e commit 938bfe8

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/cn/netbuffer/springboot/websocket/demo/websocket/handler

1 file changed

+1
-1
lines changed

src/main/java/cn/netbuffer/springboot/websocket/demo/websocket/handler/TextHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
public class TextHandler extends TextWebSocketHandler {
1111

1212
private static final String HEARTBEAT_PING = "PING";
13-
private static final String HEARTBEAT_PONG = "PING";
13+
private static final String HEARTBEAT_PONG = "PONG";
1414
private static final TextMessage HEARTBEAT_PONG_MESSAGE = new TextMessage(HEARTBEAT_PONG);
1515

1616
@Override

0 commit comments

Comments
 (0)