Does SignalR work on Mobile

假装没事ソ 提交于 2019-12-25 05:25:33

问题


It might be a simple question but I am struggling to find the asnwer. Can anyone tell me if SignalR is supported across mobile browsers such as S3 or pads etc? I can see it falls back to long polling if websockets are not supported but I can find out if this is supported in mobile browsers? I found an online tic tac toe demo but this doesnt work on my mobile.

Thanks for anyhelp...

M


回答1:


Do you mean in the browser or if native apps can do it?

If the browser supports the required transport specs, with long polling being the lowest common denominator, then it should work. It's "just" HTTP in the end. I can confirm it works in Android with Chrome for sure.

Same pretty much goes for native apps. If they have HTTP support, they should be able to use SignalR. There are a few implementations of SignalR clients for diff. mobile platforms out there already.



来源:https://stackoverflow.com/questions/12924292/does-signalr-work-on-mobile

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!