Skip to content
This repository has been archived by the owner on Sep 7, 2019. It is now read-only.

Commit

Permalink
Merge pull request #95 from yura999999999/master
Browse files Browse the repository at this point in the history
Update WebSocketTransportHybi.php
  • Loading branch information
Devristo authored Dec 21, 2016
2 parents de910b3 + 7c3a8b9 commit 4911fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Devristo/Phpws/Protocol/WebSocketTransportHybi.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ protected function processControlFrame(WebSocketFrame $frame)
$this->_socket->close();
break;
case WebSocketOpcode::PingFrame :
$frame = WebSocketFrame::create(WebSocketOpcode::PongFrame);
$frame = WebSocketFrame::create(WebSocketOpcode::PongFrame, $frame->getData());
$this->sendFrame($frame);
break;
}
Expand Down

0 comments on commit 4911fe9

Please sign in to comment.