回答編集履歴
1
先頭にコメントを追加した。
test
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
おかしなところ、というか、
|
2
|
+
|
3
|
+
sessionidをサーバからクライアントに送信していないように見えます。
|
4
|
+
|
5
|
+
|
6
|
+
|
1
7
|
```lang-java
|
2
8
|
|
3
9
|
session.getBasicRemote().sendText("{\"command\":\"message\", \"text\": \"" + message.replace("\\", "\\\\").replace("\"", "\\\"") + "\"}");
|