Class WebSocketReceiveArgs
Arguments for OnReceive.
Inherited Members
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 |