We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ws://127.0.0.1:9503/ws 这个可以正常链接 http://127.0.0.1:9503/hello 无法访问
The text was updated successfully, but these errors were encountered:
可以,hyperf文档里面有 在 WebSocket 服务中处理 HTTP 请求
Sorry, something went wrong.
我试了,这个不设置 'type' => CoroutineServer::class才可以
不能,协程风格没有做这个处理,不过理论上可以实现
像你这种情况,真心建议多监听一个 server 专门处理 http 请求。
或者上级 Nginx 直接分流就行了
No branches or pull requests
ws://127.0.0.1:9503/ws 这个可以正常链接
http://127.0.0.1:9503/hello 无法访问
The text was updated successfully, but these errors were encountered: