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