NetworkBaseReceiveRedisCommandAsync 方法 |
从网络接收一条完整的redis报文的消息
Receive a complete redis message from the network
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected Task<OperateResult<byte[]>> ReceiveRedisCommandAsync(
Socket socket
)
Protected Function ReceiveRedisCommandAsync (
socket As Socket
) As Task(Of OperateResult(Of Byte()))
protected:
Task<OperateResult<array<unsigned char>^>^>^ ReceiveRedisCommandAsync(
Socket^ socket
)
member ReceiveRedisCommandAsync :
socket : Socket -> Task<OperateResult<byte[]>>
参数
- socket
- 类型:System.Net.SocketsSocket
网络套接字
返回值
类型:
TaskOperateResultByte接收的结果对象
参见