IPWorks WebSockets 2020 PHP Edition

Questions / Feedback?

WebSocketConnectionSubProtocols Property

The subprotocols (application-level protocols layered over the WebSocket Protocol) sent by the client in the initial WebSocket connection request.

Object Oriented Interface

public function getWebSocketConnectionSubProtocols($connectionid);

Procedural Interface

ipworksws_websocketserver_get($res, 17 , $connectionid);

Default Value

''

Remarks

The subprotocols (application-level protocols layered over the WebSocket Protocol) sent by the client in the initial WebSocket connection request.

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

String

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