protected function handleHello($data)
    {
        $this->logger->info('received hello');

        $resume = $this->identify();

        if (! $resume) {
            $this->setupHeartbeat($data->d->heartbeat_interval);
        }
    }
protected function handleHello($data)
    {
        $this->logger->info('received hello');

        $resume = $this->identify();

        if (! $resume) {
            $this->setupHeartbeat($data->d->heartbeat_interval);
        }
    }
protected function handleHello ( $ data ) { $ this -> logger -> info ( 'received hello' ) ; $ resume = $ this -> identify ( ) ; if ( ! $ resume ) { $ this -> setupHeartbeat ( $ data -> d -> heartbeat_interval ) ; } }
Handles HELLO packets received by the websocket.

@param object $data Packet data.
Handles HELLO packets received by the websocket .