swoole_http_request->$get

Http请求的GET参数,相当于PHP中的$_GET,格式为数组。

// 如:index.php?hello=123
echo $request->get['hello'];

// 获取所有GET参数
var_dump($request->get);

为防止HASH攻击,GET参数最大不允许超过128个