protected function sendRequest($request, $action = null, $params = array()) {
		$this->queryParams += $this->authProvider->queryParameters();
		
		if($action && $this->sendAsQueryParams($action->httpMethod())) {
			foreach ($params as $ns => $arr) {
				foreach ($arr as $k => $v) {
					$this->queryParams[ $ns."[$k]" ] = $v;
				}
			}
		}
		
		if(count($this->queryParams) > 0) {
			$url = $request->uri;
			$first = true;
			
			foreach($this->queryParams as $k => $v) {
				if($first) {
					$url .= '?';
					$first = false;
				} else $url .= '&';
				
				$url .= $k.'='.urlencode($v);
			}
			
			$request->uri = $url;
		}
		
		return $request->send();
	}
protected function sendRequest($request, $action = null, $params = array()) {
		$this->queryParams += $this->authProvider->queryParameters();
		
		if($action && $this->sendAsQueryParams($action->httpMethod())) {
			foreach ($params as $ns => $arr) {
				foreach ($arr as $k => $v) {
					$this->queryParams[ $ns."[$k]" ] = $v;
				}
			}
		}
		
		if(count($this->queryParams) > 0) {
			$url = $request->uri;
			$first = true;
			
			foreach($this->queryParams as $k => $v) {
				if($first) {
					$url .= '?';
					$first = false;
				} else $url .= '&';
				
				$url .= $k.'='.urlencode($v);
			}
			
			$request->uri = $url;
		}
		
		return $request->send();
	}
protected function sendRequest ( $ request , $ action = null , $ params = array ( ) ) { $ this -> queryParams += $ this -> authProvider -> queryParameters ( ) ; if ( $ action && $ this -> sendAsQueryParams ( $ action -> httpMethod ( ) ) ) { foreach ( $ params as $ ns => $ arr ) { foreach ( $ arr as $ k => $ v ) { $ this -> queryParams [ $ ns . "[$k]" ] = $ v ; } } } if ( count ( $ this -> queryParams ) > 0 ) { $ url = $ request -> uri ; $ first = true ; foreach ( $ this -> queryParams as $ k => $ v ) { if ( $ first ) { $ url .= '?' ; $ first = false ; } else $ url .= '&' ; $ url .= $ k . '=' . urlencode ( $ v ) ; } $ request -> uri = $ url ; } return $ request -> send ( ) ; }
Send \Httpful\Request.
@param \Httpful\Request $request
@param Action $action
@param array $params
Send \ Httpful \ Request .