Open ZoroZdd opened 4 years ago
php --ri swoole
php -v
Describe the bug A clear and concise description of what the bug is.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Details
Describe what you are trying to achieve and what goes wrong.
// paste output here
Provide minimal script to reproduce the issue
// paste code
看你在什么server下
http server 可以:
$req = context()->getReqest(); $req->getServerParam(''); // 获取原始 swoole request $swReq = $req->getSwooleServer();
rpc, tcp, ws 可以用: server()->getClientInfo($fd);
server()->getClientInfo($fd);
php --ri swoole
)php -v
)Describe the bug A clear and concise description of what the bug is.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Details