Skip to content
New issue

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

如何能支持Socket.IO? #5

Open
xhoobin opened this issue Oct 29, 2017 · 3 comments
Open

如何能支持Socket.IO? #5

xhoobin opened this issue Oct 29, 2017 · 3 comments

Comments

@xhoobin
Copy link

xhoobin commented Oct 29, 2017

RxLifecycle用着很舒服,也升级到rxjava2了,在你没升级rxjava2前我自己也实现了。

但RxWebSocket有什么方式支持Socket.IO呢? 这是我目前的困扰

@dhhAndroid
Copy link
Owner

@ihoobin 你好,我看了一下,socket.io网络层依赖的也是okhttp,应该是可以直接用这个.两个应该不会冲突.本人对socket.io用法不熟悉,不过实现起来也不难,重连的核心原理都是一样的.

@dhhAndroid
Copy link
Owner

@ihoobin 我大致看了一下socket.io的用法,有时间我适配一下

@xhoobin
Copy link
Author

xhoobin commented Oct 31, 2017

感谢,等着。哈哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants