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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also