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
能否websocket只需要一个client 不用启动server? 感觉server中转的意义不大。。。
The text was updated successfully, but these errors were encountered:
你的提议很好,当初我也是这样想的。之所以没用这个方案 ,考虑到用PHP来做量化的Phper们其实对websocket都不是很熟悉,他们需要简单的demo才能更好的去理解,获取数据为什么还需要守护进程~为什么不像rest http api这样,执行一次获取方法就行了, 就算需要一直更新就for轮询方式,而这也容易理解如何获取数据。 当然为了这种方式也是有牺牲的,自由度不是很高了。
Sorry, something went wrong.
还有就是client你也需要一个存数据地方,所以这样我干脆弄一个server了,client 就直接读取了。 避免用户过多的维护
有更多的建议或者结构上的建议可以加QQ群:668421169 里面也有很多你这样的伙伴
那是否可以提供一个不用 server 的 demo 或者方案呢,确实感觉意义不大
No branches or pull requests
能否websocket只需要一个client 不用启动server? 感觉server中转的意义不大。。。
The text was updated successfully, but these errors were encountered: