Click or drag to resize

MessageEventArgs Class

Represents the event data for the OnMessage event.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Sfs2X.WebSocketSharpMessageEventArgs

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public class MessageEventArgs : EventArgs

The MessageEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyData
Gets the message data as a String.
Public propertyIsBinary
Gets a value indicating whether the message type is binary.
Public propertyIsPing
Gets a value indicating whether the message type is ping.
Public propertyIsText
Gets a value indicating whether the message type is text.
Public propertyRawData
Gets the message data as an array of Byte.
Top
Remarks

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.

See Also