摘要: 这里讨论的是发送字符串类型的消息 ·同步发送: session.getBasicRemote().sendText(JSONUtil.toJsonStr(messageObj)); ·异步发送: session.getAsyncRemote().sendText(JSONUtil.toJsonStr 阅读全文
posted @ 2022-04-16 16:17 把你画在马桶上 阅读(2924) 评论(0) 推荐(0)