中断型 URL地址跳转, 使用此函数进行URL跳转, 框架会帮你调用PHP内置函数exit
public void redirect(string $url, int $status_code = 301)
标准的URL地址
http status code, 只有两种 301(默认值), 302
设置成功返回 true
<?php
use Asf\Http\Response;
$rep = new Response();
$rep->redirect("http://www.box3.cn", 302);