QQ: Does the okhttp websocket re-send the message ...
# squarelibraries
r
QQ: Does the okhttp websocket re-send the message if the message does not reach the server in case of Flaky network?
j
No. There is no way to know if a message is received by the server except if the server replies with some kind of confirmation.
r
but I do see boolean value in return for
websocket.send()
does it now suppose to represent confirmation if message is sent successfully?
j
No. The documentation covers what the value represents. https://square.github.io/okhttp/5.x/okhttp/okhttp3/-web-socket/send.html
r
ahh thanks
thanks for documentation link
👍 1