src/Network/Observer/HeartbeatEmitter.php
protected function onDelay()
    {
        try {
            $this->connection->sendAlive($this->intervalClient / 1000);
        } catch (ConnectionException $e) {
            throw new HeartbeatException('Could not send heartbeat to server.', $e);
        }
        $this->rememberActivity();
    }
protected function onDelay()
    {
        try {
            $this->connection->sendAlive($this->intervalClient / 1000);
        } catch (ConnectionException $e) {
            throw new HeartbeatException('Could not send heartbeat to server.', $e);
        }
        $this->rememberActivity();
    }
protected function onDelay ( ) { try { $ this -> connection -> sendAlive ( $ this -> intervalClient / 1000 ) ; } catch ( ConnectionException $ e ) { throw new HeartbeatException ( 'Could not send heartbeat to server.' , $ e ) ; } $ this -> rememberActivity ( ) ; }
Send a beat to the server.

@return void
Send a beat to the server .