PhpAmqpLib/Wire/IO/AbstractIO.php
protected function write_heartbeat()
    {
        $pkt = new AMQPWriter();
        $pkt->write_octet(8);
        $pkt->write_short(0);
        $pkt->write_long(0);
        $pkt->write_octet(0xCE);
        $this->write($pkt->getvalue());
    }
protected function write_heartbeat()
    {
        $pkt = new AMQPWriter();
        $pkt->write_octet(8);
        $pkt->write_short(0);
        $pkt->write_long(0);
        $pkt->write_octet(0xCE);
        $this->write($pkt->getvalue());
    }
protected function write_heartbeat ( ) { $ pkt = new AMQPWriter ( ) ; $ pkt -> write_octet ( 8 ) ; $ pkt -> write_short ( 0 ) ; $ pkt -> write_long ( 0 ) ; $ pkt -> write_octet ( 0xCE ) ; $ this -> write ( $ pkt -> getvalue ( ) ) ; }
Sends a heartbeat message
Sends a heartbeat message