2023-02-28T02:13:01

This commit is contained in:
2023-02-28 02:13:03 +09:00
parent d28485c0c8
commit bd1440e1a5
15 changed files with 111 additions and 22 deletions

View File

@@ -64,9 +64,10 @@ public class WebSocketSample {
WebSocket webSocket = completableFuture.get();
while (true) {
while (!webSocket.isOutputClosed()) {
Thread.sleep(1500);
webSocket.sendText("Hello", false);
webSocket.sendText(" World", true);
}