:sig String ws_connection_id() :params return value : connection ID of the current WebSocket client :desc Returns the runtime-generated connection ID of the client whose message is currently being handled. This ID can be passed to `ws_send_to()` or `ws_close()` to target a single connected client. :see >websocket :related **PHP:** WebSocket connection metadata and send APIs in Ratchet, Workerman, or similar server frameworks **JavaScript / Node.js:** Browser `WebSocket` properties and Node `ws` server-side connection inspection and send methods