FMLiveSwitchWebSocketCloseCompleteArgs Class Reference

Arguments for onComplete (FMLiveSwitchWebSocketCloseArgs). More...

Instance Methods

(FMLiveSwitchWebSocketCloseArgs *) - closeArgs
 Gets the original arguments passed to the close method. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchSerializable class. More...
 
(NSString *) - reason
 Gets the reason given for closing the connection. More...
 
(void) - setCloseArgs:
 Sets the original arguments passed to the close method. More...
 
(void) - setReason:
 Sets the reason given for closing the connection. More...
 
(void) - setStatusCode:
 Sets the status code associated with the close operation. More...
 
(FMLiveSwitchWebSocketStatusCode) - statusCode
 Gets the status code associated with the close operation. 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

(FMLiveSwitchWebSocketCloseCompleteArgs *) + webSocketCloseCompleteArgs
 
- 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

Method Documentation

◆ closeArgs

Gets the original arguments passed to the close method.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchSerializable class.

Implements FMLiveSwitchDynamic.

◆ reason

- (NSString*) reason

Gets the reason given for closing the connection.

◆ setCloseArgs:

- (void) setCloseArgs: (FMLiveSwitchWebSocketCloseArgs *)  value

Sets the original arguments passed to the close method.

◆ setReason:

- (void) setReason: (NSString *)  value

Sets the reason given for closing the connection.

◆ setStatusCode:

- (void) setStatusCode: (FMLiveSwitchWebSocketStatusCode)  value

Sets the status code associated with the close operation.

◆ statusCode

- (FMLiveSwitchWebSocketStatusCode) statusCode

Gets the status code associated with the close operation.

◆ webSocketCloseCompleteArgs

+ (FMLiveSwitchWebSocketCloseCompleteArgs*) webSocketCloseCompleteArgs