Skip to content

Commit 2041d3d

Browse files
committed
Fixed PONG detection (was not detected as control frame)
1 parent c026b64 commit 2041d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Devristo/Phpws/Framing/WebSocketOpcode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class WebSocketOpcode
2121
const BinaryFrame = 0x02;
2222
const CloseFrame = 0x08;
2323
const PingFrame = 0x09;
24-
const PongFrame = 0x09;
24+
const PongFrame = 0x0A;
2525

2626
private function __construct()
2727
{

0 commit comments

Comments
 (0)