2023年12月8日18:17:06

master
zhangmeng 2023-12-08 18:17:11 +08:00
parent f2f73411a0
commit 6be1181d97
1 changed files with 1 additions and 3 deletions

View File

@ -74,7 +74,6 @@ public class ChatAppImplController {
public static final String color_cell = "#f4f4f4";
private WebSocketClient webSocketClient;
private NettyClient nettyClient;
@FXML
public void initialize() {
@ -109,8 +108,7 @@ public class ChatAppImplController {
AlertUtils.alert_warning("请输入文本在发送!");
return;
}
//webSocketClient.send(content.getText());
nettyClient.sendMsg(content.getText());
webSocketClient.send(content.getText());
}
public void webSocketClient(ChatAppImplController.Type type, String socket_address, int socket_port, String path , String params) {