src/Neuron/Net/Response.php
public function setRedirect ($url)
	{
		$this->setHeader ('Location', $url);
		$this->setStatus (302);
		$this->setData (array ('message' => 'Redirecting to ' . $url));

		return $this;
	}
public function setRedirect ($url)
	{
		$this->setHeader ('Location', $url);
		$this->setStatus (302);
		$this->setData (array ('message' => 'Redirecting to ' . $url));

		return $this;
	}
public function setRedirect ( $ url ) { $ this -> setHeader ( 'Location' , $ url ) ; $ this -> setStatus ( 302 ) ; $ this -> setData ( array ( 'message' => 'Redirecting to ' . $ url ) ) ; return $ this ; }
Set a response to be a redirect.
@param $url
@return $this
Set a response to be a redirect .