public function sendFrame(WebSocketFrameInterface $frame) { /** * @var $hybiFrame WebSocketFrame */ $hybiFrame = $frame; // Mask IFF client! $hybiFrame->setMasked($this->_role == WebsocketTransportRole::CLIENT); parent::sendFrame($hybiFrame); }
public function sendFrame(WebSocketFrameInterface $frame) { $this->transport->sendFrame($frame); }