protected function getHttpClientOptions()
    {
        $options = ['async' => $this->isAsyncRequest];

        if (isset($this->options['timeout'])) {
            $options['timeout'] = $this->options['timeout'];
        }

        return $options;
    }
protected function getHttpClientOptions()
    {
        $options = ['async' => $this->isAsyncRequest];

        if (isset($this->options['timeout'])) {
            $options['timeout'] = $this->options['timeout'];
        }

        return $options;
    }
protected function getHttpClientOptions ( ) { $ options = [ 'async' => $ this -> isAsyncRequest ] ; if ( isset ( $ this -> options [ 'timeout' ] ) ) { $ options [ 'timeout' ] = $ this -> options [ 'timeout' ] ; } return $ options ; }
Build the options array for the http client based on the Analytics object options.

@return array
Build the options array for the http client based on the Analytics object options .