Fix warning messages in websockets classes (#7418)

This commit is contained in:
frytimo
2025-07-11 12:34:35 -03:00
committed by GitHub
parent 66e25ee61b
commit 006dbb88d6
3 changed files with 9 additions and 12 deletions
@@ -311,10 +311,10 @@ class websocket_client {
// Respond with PONG using same payload
$this->send_control_frame(0xA, $payload);
echo "[INFO] Received PING, sent PONG\n";
continue; // Skip returning PING
break 2;
case 0xA: // PONG
echo "[INFO] Received PONG\n";
continue; // Skip returning PONG
break 2;
case 0x1: // TEXT frame
case 0x0: // Continuation frame
$payload_data .= $payload;