WebSocketServerPublishClientPayload 方法 (String, String) |
向订阅了topic主题的客户端发送消息
Send messages to clients subscribed to topic
命名空间:
HslCommunication.WebSocket
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public void PublishClientPayload(
string topic,
string payload
)
Public Sub PublishClientPayload (
topic As String,
payload As String
)
public:
void PublishClientPayload(
String^ topic,
String^ payload
)
member PublishClientPayload :
topic : string *
payload : string -> unit
参数
- topic
- 类型:SystemString
主题 - payload
- 类型:SystemString
消息内容
参见