FMIceLinkWebSocketCloseArgs Class Reference
| Inherits from | FMIceLinkDynamic : FMIceLinkSerializable : NSObject | 
|---|---|
| Declared in | FMIceLinkWebSocketCloseArgs.h FMIceLinkWebSocketCloseArgs.m  | 
– init
	
Creates a new instance of FMIceLinkWebSocketCloseArgs
with default values.
			- (instancetype)initDiscussion
Creates a new instance of FMIceLinkWebSocketCloseArgs
with default values.
			Declared In
FMIceLinkWebSocketCloseArgs.h
– onComplete
	
Gets the callback to execute when the connection is closed.
			- (FMIceLinkAction1<FMIceLinkWebSocketCloseCompleteArgs*> *)onCompleteDiscussion
Gets the callback to execute when the connection is closed.
			Declared In
FMIceLinkWebSocketCloseArgs.h
– reason
	
Gets the reason to send with the close frame.
			- (NSString *)reasonDiscussion
Gets the reason to send with the close frame.
			Declared In
FMIceLinkWebSocketCloseArgs.h
– setOnComplete:
	
Sets the callback to execute when the connection is closed.
			- (void)setOnComplete:(FMIceLinkAction1<FMIceLinkWebSocketCloseCompleteArgs*> *)valueDiscussion
Sets the callback to execute when the connection is closed.
			Declared In
FMIceLinkWebSocketCloseArgs.h
– setOnCompleteBlock
	
Sets the callback to execute when the connection is closed.
			- (void ( ^ ) ( void ( ^ ) ( FMIceLinkWebSocketCloseCompleteArgs *) ))setOnCompleteBlockDiscussion
Sets the callback to execute when the connection is closed.
			Declared In
FMIceLinkWebSocketCloseArgs.h
– setOnCompleteBlock:
	
Sets the callback to execute when the connection is closed.
			- (void)setOnCompleteBlock:(void ( ^ ) ( FMIceLinkWebSocketCloseCompleteArgs *))valueBlockDiscussion
Sets the callback to execute when the connection is closed.
			Declared In
FMIceLinkWebSocketCloseArgs.h
– setReason:
	
Sets the [reason](#//api/name/reason) to send with the close frame.
			- (void)setReason:(NSString *)valueDiscussion
Sets the [reason](#//api/name/reason) to send with the close frame.
			Declared In
FMIceLinkWebSocketCloseArgs.h
– setStatusCode:
	
Sets the status code to send with the close frame.
			- (void)setStatusCode:(FMIceLinkWebSocketStatusCode)valueDiscussion
Sets the status code to send with the close frame.
			Declared In
FMIceLinkWebSocketCloseArgs.h
– statusCode
	
Gets the status code to send with the close frame.
			- (FMIceLinkWebSocketStatusCode)statusCodeDiscussion
Gets the status code to send with the close frame.
			Declared In
FMIceLinkWebSocketCloseArgs.h
+ webSocketCloseArgs
	
Creates a new instance of FMIceLinkWebSocketCloseArgs
with default values.
			+ (FMIceLinkWebSocketCloseArgs *)webSocketCloseArgsDiscussion
Creates a new instance of FMIceLinkWebSocketCloseArgs
with default values.
			Declared In
FMIceLinkWebSocketCloseArgs.h