WebSocketServerSendClientPayload 方法 |
向指定的客户端发送数据
Send data to the specified client
命名空间:
HslCommunication.WebSocket
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public void SendClientPayload(
WebSocketSession session,
string payload
)
Public Sub SendClientPayload (
session As WebSocketSession,
payload As String
)
public:
void SendClientPayload(
WebSocketSession^ session,
String^ payload
)
member SendClientPayload :
session : WebSocketSession *
payload : string -> unit
参数
- session
- 类型:HslCommunication.WebSocketWebSocketSession
会话内容 - payload
- 类型:SystemString
消息内容
参见