- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for webSocketListener (0.08 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
override fun newCall(request: Request): Call = RealCall(this, request, forWebSocket = false) /** Uses [request] to connect a new web socket. */ override fun newWebSocket( request: Request, listener: WebSocketListener, ): WebSocket { val webSocket = RealWebSocket( taskRunner = taskRunner, originalRequest = request, listener = listener, random = Random(),
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 51.4K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public abstract fun send (Lokio/ByteString;)Z } public abstract interface class okhttp3/WebSocket$Factory { public abstract fun newWebSocket (Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket; } public abstract class okhttp3/WebSocketListener { public fun <init> ()V public fun onClosed (Lokhttp3/WebSocket;ILjava/lang/String;)V public fun onClosing (Lokhttp3/WebSocket;ILjava/lang/String;)V
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.2K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public abstract fun send (Lokio/ByteString;)Z } public abstract interface class okhttp3/WebSocket$Factory { public abstract fun newWebSocket (Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket; } public abstract class okhttp3/WebSocketListener { public fun <init> ()V public fun onClosed (Lokhttp3/WebSocket;ILjava/lang/String;)V public fun onClosing (Lokhttp3/WebSocket;ILjava/lang/String;)V
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.3K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
OkHttp 2.3 our web socket client has matured. Connect to a server's web socket with `OkHttpClient.newWebSocket()`, send messages with `send()`, and receive messages with the `WebSocketListener`. The `okhttp-ws` submodule is no longer available and `okhttp-ws` artifacts from previous releases of OkHttp are not compatible with OkHttp 3.5. When upgrading to the new package
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0)