IPWorks WebSockets 2020 PHP Edition

Questions / Feedback?

WebSocketProxyConnectionConnected Property

This property is used to disconnect individual connections and/or show their status.

Object Oriented Interface

public function getWebSocketProxyConnectionConnected($connectionid);
public function setWebSocketProxyConnectionConnected($connectionid, $value);

Procedural Interface

ipworksws_websocketproxy_get($res, 3 , $connectionid);
ipworksws_websocketproxy_set($res, 3, $value , $connectionid);

Default Value

false

Remarks

This property is used to disconnect individual connections and/or show their status.

The WebSocketProxyConnectionConnected property may be set to false to close the connection.

WebSocketProxyConnectionConnected 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 WebSocketProxyConnectionCount property.

This property is not available at design time.

Data Type

Boolean

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 PHP Edition - Version 20.0 [Build 8155]