-
Notifications
You must be signed in to change notification settings - Fork 144
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
有没有android版本的demo #10
Comments
大佬看到回下,谢谢 |
connect不是阻塞的,你看下日志的信息,另外确认下包解析器有配置吗,android上跑也是一样的, |
连接成功了,就是发送消息传的值和接收的消息是空的。因为现在我用的PC调试工具,没有协议,包的解析器是复制您的 |
没有协议调试没意义吧
|
SampleServer你用这个调试发自我的华为手机-------- 原始邮件 --------主题:Re: [typ0520/bizsocket] 有没有android版本的demo (#10)发件人:huangwenfeixxx 收件人:typ0520/bizsocket 抄送:tong ,Comment 连接成功了,就是发送消息传的值是空的,然后不能收消息。因为现在我用的PC调试工具,没有协议。
2019-08-02 14:48:01.195 16525-16525/com.android.mybizandroidsocket D/--->: content:[text={"productId" : "1","isJuan" : "0","type" : "2","sl" : "1"}]
2019-08-02 14:48:01.196 16525-16525/com.android.mybizandroidsocket D/--->: 发现一个请求postRequestHandle: RequestContext{request=Request{command=1, body=[text={"productId" : "1","isJuan" : "0","type" : "2","sl" : "1"}], description='null'}, responseHandler=com.android.mybizandroidsocket.socket.GeekSocket$4@d9915c}
2019-08-02 14:48:01.197 16525-16555/com.android.mybizandroidsocket I/System.out: Packet: -------------------send packet: 1 ,desc: null, id: 0
2019-08-02 14:48:01.197 16525-16555/com.android.mybizandroidsocket I/System.out: Packet: -------------------send content: null
谢谢大佬
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
|
我导入了 api 'com.github.typ0520:bizsocket-rx2:2.0.0',然后按照BizSocket的配置运行,使用网络调试助手作为服务器端,调用 client.connect();没有发现有连接对象。sample的页面已经没有了
The text was updated successfully, but these errors were encountered: