| 程序包 | 说明 |
|---|---|
| HslCommunication.Core.Net.NetworkBase |
| 限定符和类型 | 方法和说明 |
|---|---|
protected OperateResultExTwo<WebSocketMessage,Boolean> |
NetworkBase.ReceiveFrameWebSocketPayload(Socket socket)
从socket接收一条
WebSocketMessage 片段数据,返回 WebSocketMessage 的数据信息和是否最后一条数据内容Receive a piece of WebSocketMessage fragment data from the socket, return the data information of WebSocketMessage and whether the last data content |
protected OperateResultExOne<WebSocketMessage> |
NetworkBase.ReceiveWebSocketPayload(Socket socket)
从socket接收一条完整的 websocket 数据,返回
WebSocketMessage 的数据信息Receive a complete websocket data from the socket, return the data information of the WebSocketMessage |
Copyright © 2022. All rights reserved.