FMLiveSwitchWebSocketSendArgs Class Reference

Send arguments for the FMLiveSwitchWebSocket class. More...

Instance Methods

(NSMutableData *) - binaryMessage
 Gets the message to send as binary data. More...
 
(long long) - byteCount
 Gets the byte count of the message. More...
 
(instancetype) - init
 Creates a new FMLiveSwitchWebSocketSendArgs instance. More...
 
(void) - setBinaryMessage:
 Sets the message to send as binary data. More...
 
(void) - setTextMessage:
 Sets the message to send as text data. More...
 
(void) - setTimeout:
 Sets the timeout for the request (in ms). More...
 
(NSString *) - textMessage
 Gets the message to send as text data. More...
 
(int) - timeout
 Gets the timeout for the request (in ms). More...
 
- Instance Methods inherited from FMLiveSwitchDynamic
(NSMutableDictionary< NSString *, id > *) - dynamicProperties
 Gets all dynamic properties on this instance. More...
 
(id- getDynamicValueWithKey:
 Gets a property value from the local cache. More...
 
(void) - setDynamicValueWithKey:value:
 Sets a property value in the local cache. More...
 
(bool) - unsetDynamicValueWithKey:
 Removes a property value from the local cache. More...
 

Class Methods

(FMLiveSwitchWebSocketSendArgs *) + webSocketSendArgs
 Creates a new FMLiveSwitchWebSocketSendArgs instance. More...
 
- Class Methods inherited from FMLiveSwitchDynamic
(FMLiveSwitchDynamic *) + dynamic
 
- Class Methods inherited from FMLiveSwitchSerializable
(FMLiveSwitchSerializable *) + serializable
 Initializes a new instance of the FMLiveSwitchSerializable class. More...
 

Detailed Description

Send arguments for the FMLiveSwitchWebSocket class.

Method Documentation

◆ binaryMessage

- (NSMutableData*) binaryMessage

Gets the message to send as binary data.

◆ byteCount

- (long long) byteCount

Gets the byte count of the message.

◆ init

- (instancetype) init

Creates a new FMLiveSwitchWebSocketSendArgs instance.

Implements FMLiveSwitchDynamic.

◆ setBinaryMessage:

- (void) setBinaryMessage: (NSMutableData *)  value

Sets the message to send as binary data.

◆ setTextMessage:

- (void) setTextMessage: (NSString *)  value

Sets the message to send as text data.

◆ setTimeout:

- (void) setTimeout: (int)  value

Sets the timeout for the request (in ms).

◆ textMessage

- (NSString*) textMessage

Gets the message to send as text data.

◆ timeout

- (int) timeout

Gets the timeout for the request (in ms).

◆ webSocketSendArgs

+ (FMLiveSwitchWebSocketSendArgs*) webSocketSendArgs

Creates a new FMLiveSwitchWebSocketSendArgs instance.