webSocketConnectionConnected (property)
This property is used to disconnect individual connections and/or show their status.
Syntax
- (BOOL)webSocketConnectionConnected:(int)connectionId; - (void)setWebSocketConnectionConnected:(int)connectionId:(BOOL)newWebSocketConnectionConnected;
public func webSocketConnectionConnected(connectionId: Int32) throws -> Bool
public func setWebSocketConnectionConnected(connectionId: Int32, newWebSocketConnectionConnected: Bool) throws -> Void
Default Value
FALSE
Remarks
This property is used to disconnect individual connections and/or show their status.
The WebSocketConnectionConnected property may be set to false to close the connection.
WebSocketConnectionConnected also shows the status of a particular connection (connected/disconnected).
The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the WebSocketConnectionCount property.