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