Wednesday 17 May 2017

HTTPS Long Poll with websocket

In my project I want to do long poll for HTTPS API so for this we can use setTimeout() of javascript with jquery ajax, but somewhere I read that websocket is also good idea to get real time data from API. So can you please give me an sample to how I can use websocket for https long polling?

Thanks.



via Sonu Sen

No comments:

Post a Comment