IPWorks WebSockets 2020 PHP Edition

Questions / Feedback?

WebSocketConnectionBytesSent Property

This property shows how many bytes were sent after the last assignment to DataToSend .

Object Oriented Interface

public function getWebSocketConnectionBytesSent($connectionid);

Procedural Interface

ipworksws_websocketserver_get($res, 4 , $connectionid);

Default Value

0

Remarks

This property shows how many bytes were sent after the last assignment to WebSocketConnectionDataToSend. Please check WebSocketConnectionDataToSend for more information.

Note that this property will always return 0 when the class is operating in synchronous mode (that is, the Timeout property is set to a positive value.)

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 read-only and not available at design time.

Data Type

Integer

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