public function get($strPath, array $arrOptions = [])
    {
        $request = wp_remote_get($this->build_uri($strPath), array_merge(
            self::DEFAULT_OPTIONS,
            $arrOptions, [
                'headers' => $this->arrHeaders
            ])
        );

        return new HttpResponse($request);
    }
public function get($strPath, array $arrOptions = [])
    {
        $request = wp_remote_get($this->build_uri($strPath), array_merge(
            self::DEFAULT_OPTIONS,
            $arrOptions, [
                'headers' => $this->arrHeaders
            ])
        );

        return new HttpResponse($request);
    }
public function get ( $ strPath , array $ arrOptions = [ ] ) { $ request = wp_remote_get ( $ this -> build_uri ( $ strPath ) , array_merge ( self :: DEFAULT_OPTIONS , $ arrOptions , [ 'headers' => $ this -> arrHeaders ] ) ) ; return new HttpResponse ( $ request ) ; }
Get http request

@param string $strPath
@param array $arrOptions
@return HttpResponse
Get http request