WebSocketQANetReadFromServer 方法 |
和websocket的服务器交互,将负载数据发送到服务器端,然后等待接收服务器的数据
Interact with the websocket server, send the load data to the server, and then wait to receive data from the server
命名空间:
HslCommunication.WebSocket
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<string> ReadFromServer(
string payload
)
Public Function ReadFromServer (
payload As String
) As OperateResult(Of String)
public:
OperateResult<String^>^ ReadFromServer(
String^ payload
)
member ReadFromServer :
payload : string -> OperateResult<string>
参数
- payload
- 类型:SystemString
数据负载
返回值
类型:
OperateResultString返回的结果数据
参见