WebSocketReceiveResult Constructor
Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9313)
WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean)
Creates a new instance of Web
Declaration
public WebSocketReceiveResult(int count, WebSocketMessageType messageType, bool endOfMessage)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | count | Number of bytes in the received fragment. |
| Web |
messageType | Type of the received fragment. |
| Boolean | endOfMessage | Indicates whether this is the last fragment of the message. |
WebSocketReceiveResult(Int32, WebSocketMessageType, Boolean, Nullable<WebSocketCloseStatus>, String)
Creates a new instance of Web
Declaration
public WebSocketReceiveResult(int count, WebSocketMessageType messageType, bool endOfMessage, WebSocketCloseStatus? closeStatus, string closeStatusDescription)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | count | Number of bytes in the received fragment. |
| Web |
messageType | Type of the received fragment. |
| Boolean | endOfMessage | Indicates whether this is the last fragment of the message. |
| Nullable<Web |
closeStatus | Close status (only for closure messages). |
| String | closeStatusDescription | Close status description (only for closure messages). |