MessageEventArgs Class |
Namespace: Sfs2X.WebSocketSharp
public class MessageEventArgs : EventArgs
The MessageEventArgs type exposes the following members.
Name | Description | |
---|---|---|
Data |
Gets the message data as a String.
| |
IsBinary |
Gets a value indicating whether the message type is binary.
| |
IsPing |
Gets a value indicating whether the message type is ping.
| |
IsText |
Gets a value indicating whether the message type is text.
| |
RawData |
Gets the message data as an array of Byte.
|
That event occurs when the WebSocket receives a message or a ping if the EmitOnPing property is set to true.
If you would like to get the message data, you should access the Data or RawData property.