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
(1)如果主服务是tcp,想再监听HTTP,也是可以的,需要在port中设置启用http即可,同理,websocket启用websocket即可。但是需要在port中实现对应的处理逻辑。 (2)您的框架在主服务是http或websocket时,想在port再监听一个http或websockt时,您的swoole\server.php handleCallback()中,不能添加onrequest回调。因为$callbacks = ['onConnect', 'onClose', 'onReceive', ]。这个地方不太理解您的用意。望能解释一下,为何这里限制。
The text was updated successfully, but these errors were encountered:
尚未验证多个HTTP协议同时监听的情况。需要验证一下swoole是否允许多个HTTP/WebSocket 同时监听
Sorry, something went wrong.
No branches or pull requests
(1)如果主服务是tcp,想再监听HTTP,也是可以的,需要在port中设置启用http即可,同理,websocket启用websocket即可。但是需要在port中实现对应的处理逻辑。
(2)您的框架在主服务是http或websocket时,想在port再监听一个http或websockt时,您的swoole\server.php handleCallback()中,不能添加onrequest回调。因为$callbacks = ['onConnect', 'onClose', 'onReceive', ]。这个地方不太理解您的用意。望能解释一下,为何这里限制。
The text was updated successfully, but these errors were encountered: