WebSocketClient.Receive Method
Assembly: Rebex.WebSocket.dll (version 7.0.9119)
Receive(ArraySegment<Byte>)
Receives a message fragment from the server.
Declaration
public WebSocketReceiveResult Receive(ArraySegment<byte> buffer)
Parameters
Type |
Name |
Description |
ArraySegment<Byte> |
buffer |
Array segment that receives message fragment data.
|
Returns
Receive<T>()
Receives a message of the specified type from the server. Only String, byte array and Object types are currently supported.
Declaration
public T Receive<T>()
where T : class
Returns
Type Parameters