How to implement WebSockets in android Studio?

0

I am trying another method of communication Cliente-Servidor , I have researched about it and there is WebSocket that would be a bidirectional communication channel (between cliente-servidor ), I was using retrofit , I would like to know if using WebSocket should I stop using retrofit methods, or do both work hand in hand? Or should you simply work WebSocket with Apache ? Any help on how these methods are implemented?

    
asked by David Villegas 17.07.2018 в 17:02
source

1 answer

0

I found the answer to my question, Retrofit does not support websockets , therefore I can not mix both methods, you can simply use both ways to execute different methods according to the needs or requirements of app .

    
answered by 09.08.2018 в 21:21