I want to create a chat application. My chat application is properly working as a real time chat at web server using continuous polling and pushing data. But, Polling is not a good solution for mobile application. Since, Our whole chat is already built as HTTP Rest API so, moving to XMPP is a great deal for us.
So,We just came to know about WebSocket. Can anyone suggest me which is better for real time chat in this situation. WebSocket is very fast and we didn't need continuous timer polling from server also.
Do suggest better option if any and thanks :)