webSocketConnectionAcceptData (property)
Setting this property to False, temporarily disables data reception (and the DataIn event) on the connection.
Syntax
- (BOOL)webSocketConnectionAcceptData:(int)connectionId; - (void)setWebSocketConnectionAcceptData:(int)connectionId:(BOOL)newWebSocketConnectionAcceptData;
public func webSocketConnectionAcceptData(connectionId: Int32) throws -> Bool
public func setWebSocketConnectionAcceptData(connectionId: Int32, newWebSocketConnectionAcceptData: Bool) throws -> Void
Default Value
TRUE
Remarks
Setting this property to False, temporarily disables data reception (and the DataIn event) on the connection. Setting this to True, re-enables data reception.
The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the WebSocketConnectionCount property.