WebSocketHelperReceiveWebSocketPayload 方法 |
命名空间:
HslCommunication.WebSocket
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<WebSocketMessage> ReceiveWebSocketPayload(
CommunicationPipe pipe
)
Public Shared Function ReceiveWebSocketPayload (
pipe As CommunicationPipe
) As OperateResult(Of WebSocketMessage)
public:
static OperateResult<WebSocketMessage^>^ ReceiveWebSocketPayload(
CommunicationPipe^ pipe
)
static member ReceiveWebSocketPayload :
pipe : CommunicationPipe -> OperateResult<WebSocketMessage>
参数
- pipe
- 类型:HslCommunication.Core.PipeCommunicationPipe
当前通信的管道信息
返回值
类型:
OperateResultWebSocketMessage包含websocket消息的结果内容
参见