Class WebSocketReceiveArgs
Arguments for OnReceive.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class WebSocketReceiveArgs : Dynamic
Properties
BinaryMessage
Gets or sets the message received from the server as binary data.
Declaration
public byte[] BinaryMessage { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
IsText
Gets whether or not the received message is text.
Declaration
public bool IsText { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
OpenArgs
Gets or sets the original arguments passed to the open method.
Declaration
public WebSocketOpenArgs OpenArgs { get; set; }
Property Value
Type | Description |
---|---|
WebSocketOpenArgs |
TextMessage
Gets or sets the message received from the server as text data.
Declaration
public string TextMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |