WebSocketConnectionConnected Property
This property is used to disconnect individual connections and/or show their status.
Object Oriented Interface
public function getWebSocketConnectionConnected($connectionid); public function setWebSocketConnectionConnected($connectionid, $value);
Procedural Interface
ipworksws_websocketserver_get($res, 5 , $connectionid); ipworksws_websocketserver_set($res, 5, $value , $connectionid);
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.
This property is not available at design time.
Data Type
Boolean