WebSocketServerPublishAllClientPayload 方法 |
名称 | 说明 | |
---|---|---|
![]() | PublishAllClientPayload(Byte) |
向所有的客户端强制发送消息,消息类型为二进制消息,也就是 opCode = 2 Force the sending of messages to all clients, with the message type being binary messages, that is, opCode = 2 |
![]() | PublishAllClientPayload(String) |
向所有的客户端强制发送消息,消息类型为文本消息,也就是 opCode = 1 Force the sending of messages to all clients, with the message type being text messages, that is, opCode = 1 |