Receives a message fragment from the server.
Namespace:
Rebex.Net
Assembly:
Rebex.WebSocket (in Rebex.WebSocket.dll)
Syntax
Visual Basic |
---|
Public Function Receive ( _ buffer As ArraySegment(Of Byte) _ ) As WebSocketReceiveResult |
C# |
---|
public WebSocketReceiveResult Receive( ArraySegment<byte> buffer ) |
Parameters
- buffer
- Type: System..::..ArraySegment<(Of <(<'Byte>)>)>
Array segment that receives message fragment data.