<HTTP or Socket Kotlin Java Keep Trying Endpoint U...
# stackoverflow
u
HTTP or Socket Kotlin Java Keep Trying Endpoint Until Success Response Received I am developing an application that requires a feature similar to that of Hulu's or Netflix's sign in on tv with code feature. I need the android application to keep trying an endpoint until a success response is received. I also came across web sockets but am unclear on which of these routes, or other, would be the better route to go. Some questions I have in regards to this is, should I keep on request open or do multiple requests? Can I have a intent running with retries to maybe...