- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for eventListener (0.06 sec)
-
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* client. * * @see EventListener for semantics and restrictions on listener implementations. */ fun eventListener(eventListener: EventListener) = apply { this.eventListenerFactory = eventListener.asFactory() } /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:21:33 UTC 2024 - 52K bytes - Viewed (0) -
okhttp/api/okhttp.api
public abstract fun lookup (Ljava/lang/String;)Ljava/util/List; } public final class okhttp3/Dns$Companion { } public abstract class okhttp3/EventListener { public static final field Companion Lokhttp3/EventListener$Companion; public static final field NONE Lokhttp3/EventListener; public fun <init> ()V public fun cacheConditionalHit (Lokhttp3/Call;Lokhttp3/Response;)V public fun cacheHit (Lokhttp3/Call;Lokhttp3/Response;)V
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
call. The `RequestBody.writeTo()` method may now retain a reference to the provided sink and hand it off to another thread to write to it after `writeTo` returns. The `EventListener` may now see requests and responses interleaved in ways not previously permitted. For example, a listener may receive `responseHeadersStart()` followed by
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
server.enqueue( MockResponse(body = "XXX"), ) val connections: MutableList<RealConnection?> = ArrayList() val localClient = client.newBuilder().eventListener( object : EventListener() { override fun connectionAcquired( call: Call, connection: Connection, ) { connections.add(connection as RealConnection)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0)