public function request($function, array $params = array(), $cache = null)
    {
        $request = $this->startRequest($function, $params, $cache);

        return $this->fetchResponse($request);
    }
public function request($function, array $params = array(), $cache = null)
    {
        $request = $this->startRequest($function, $params, $cache);

        return $this->fetchResponse($request);
    }
public function request ( $ function , array $ params = array ( ) , $ cache = null ) { $ request = $ this -> startRequest ( $ function , $ params , $ cache ) ; return $ this -> fetchResponse ( $ request ) ; }
Does a full request and returns the result.

@param string $function
@param array  $params
@param string $cache

@return mixed
Does a full request and returns the result .