Creates a new instance of WebSocketReceiveResult.

Namespace:  Rebex.Net
Assembly:  Rebex.WebSocket (in Rebex.WebSocket.dll)

Syntax

Visual Basic
Public Sub New ( _
	count As Integer, _
	messageType As WebSocketMessageType, _
	endOfMessage As Boolean, _
	closeStatus As Nullable(Of WebSocketCloseStatus), _
	closeStatusDescription As String _
)
C#
public WebSocketReceiveResult(
	int count,
	WebSocketMessageType messageType,
	bool endOfMessage,
	Nullable<WebSocketCloseStatus> closeStatus,
	string closeStatusDescription
)

Parameters

count
Type: System..::..Int32
Number of bytes in the received fragment.
messageType
Type: Rebex.Net..::..WebSocketMessageType
Type of the received fragment.
endOfMessage
Type: System..::..Boolean
Indicates whether this is the last fragment of the message.
closeStatus
Type: System..::..Nullable<(Of <(<'WebSocketCloseStatus>)>)>
Close status (only for closure messages).
closeStatusDescription
Type: System..::..String
Close status description (only for closure messages).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also