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 _ ) |
C# |
---|
public WebSocketReceiveResult( int count, WebSocketMessageType messageType, bool endOfMessage ) |
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.