think-swoole

浏览:4913 发布日期:2018/12/07 分类:求助交流 关键字: think-swoole
thinkphp 5.1 swoole 版本 1.0 think-swoole 报错 各位大佬帮忙看看怎么回事
[think\exception\ErrorException]
Uncaught exception 'think\Exception' with message 'method not exists:think\Request->withHeader' in /home/wwwroot/tp5/thinkphp/library/think/Request.php:329
Stack trace:
#0 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/Application.php(48): think\Request->__call('withHeader', Array)
#1 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/Application.php(48): think\Request->withHeader(Array)
#2 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/Http.php(127): think\swoole\Application->swoole(object(swoole_http_request), object(swoole_http_response))
#3 [internal function]: think\swoole\Http->onRequest(object(swoole_http_request), object(swoole_http_response))
#4 [internal function]: swoole_http_server->start()
#5 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/Server.php(121): call_user_func_array(Array, Array)
#6 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/command/Swoole.php(110): think\swoole\Server->__call('start', Array)
#7 /home/wwwroot/tp5/vendor/topthink/think-swoole/src/command/Swoole.php(11
最佳答案
评论( 相关
后面还有条评论,点击查看>>