workerman的http server怎么实现header location重定向到另外一个域名

gobyang

请教下:

workerman的http server怎么实现header location重定向到另外一个域名。

谢谢。

3180 1 1
1个回答

walkor

use \Workerman\Protocols\Http;
Http::header("location:".$xxx);

年代过于久远,无法发表回答
🔝