PhpAmqpLib/Connection/AbstractConnection.php
protected function connection_redirect($args)
    {
        $host = $args->read_shortstr();
        $this->known_hosts = $args->read_shortstr();
        $this->debug->debug_msg(sprintf(
                'Redirected to [%s], known_hosts [%s]',
                $host,
                $this->known_hosts
            ));

        return $host;
    }
protected function connection_redirect($args)
    {
        $host = $args->read_shortstr();
        $this->known_hosts = $args->read_shortstr();
        $this->debug->debug_msg(sprintf(
                'Redirected to [%s], known_hosts [%s]',
                $host,
                $this->known_hosts
            ));

        return $host;
    }
protected function connection_redirect ( $ args ) { $ host = $ args -> read_shortstr ( ) ; $ this -> known_hosts = $ args -> read_shortstr ( ) ; $ this -> debug -> debug_msg ( sprintf ( 'Redirected to [%s], known_hosts [%s]' , $ host , $ this -> known_hosts ) ) ; return $ host ; }
Asks the client to use a different server

@param AMQPReader $args
@return string
Asks the client to use a different server