You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Is it possible to get more clarity on what this line does?
As my initial thought is that it would completely stop any subsequent network request made via this OkHttpClient object? Was this line written for this particular sample where we are creating a new OkHttpClient object inside run()?
Also, for an application having a singleton OkHttpClient object, should this be called at all?
Thanks for reading!
The text was updated successfully, but these errors were encountered:
okhttp/samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
Line 23 in f24bc62
Hello! Is it possible to get more clarity on what this line does?
As my initial thought is that it would completely stop any subsequent network request made via this
OkHttpClient
object? Was this line written for this particular sample where we are creating a new OkHttpClient object insiderun()
?Also, for an application having a singleton
OkHttpClient
object, should this be called at all?Thanks for reading!
The text was updated successfully, but these errors were encountered: