- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for ConnectStart (0.1 sec)
-
okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt
) val response = call.execute() assertThat(response.code).isEqualTo(200) response.body.close() assertThat(listener.recordedEventTypes()).containsExactly( "ConnectStart", "ConnectFailed", "ConnectStart", "ConnectEnd", "ConnectionAcquired", "ConnectionReleased", ) } @Test @Throws(IOException::class) fun successfulHttpProxyConnect() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
domainName: String, inetAddressList: List<InetAddress>, ) { logWithTime("dnsEnd: $inetAddressList") } override fun connectStart( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, ) { logWithTime("connectStart: $inetSocketAddress $proxy") } override fun secureConnectStart(call: Call) { logWithTime("secureConnectStart") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 5.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionListener.kt
*/ @ExperimentalOkHttpApi abstract class ConnectionListener { /** * Invoked as soon as a call causes a connection to be started. */ open fun connectStart( route: Route, call: Call, ) {} /** * Invoked when a connection fails to be established. */ open fun connectFailed( route: Route, call: Call, failure: IOException,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt
override fun closes(event: ConnectionEvent): Boolean = event is ConnectStart && call == event.call && route == event.route } data class ConnectEnd( override val timestampNs: Long, override val connection: Connection, val route: Route, val call: Call, ) : ConnectionEvent() { override fun closes(event: ConnectionEvent): Boolean = event is ConnectStart && call == event.call && route == event.route }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt
} override fun updateRouteDatabaseAfterSuccess(route: Route) { call.client.routeDatabase.connected(route) } override fun connectStart(route: Route) { eventListener.connectStart(call, route.socketAddress, route.proxy) poolConnectionListener.connectStart(route, call) } override fun connectFailed( route: Route, protocol: Protocol?, e: IOException, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
val inetAddressList: List<InetAddress>, ) : CallEvent() { override fun closes(event: CallEvent): Boolean = event is DnsStart && call == event.call && domainName == event.domainName } data class ConnectStart( override val timestampNs: Long, override val call: Call, val inetSocketAddress: InetSocketAddress, val proxy: Proxy?, ) : CallEvent() data class ConnectEnd(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
logWithTime("dnsEnd: $inetAddressList") delegate.dnsEnd(call, domainName, inetAddressList) } override fun connectStart( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, ) { logWithTime("connectStart: $inetSocketAddress $proxy") delegate.connectStart(call, inetSocketAddress, proxy) } override fun secureConnectStart(call: Call) { logWithTime("secureConnectStart")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
domainName: String, inetAddressList: List<InetAddress>, ) = logEvent(DnsEnd(System.nanoTime(), call, domainName, inetAddressList)) override fun connectStart( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, ) = logEvent(ConnectStart(System.nanoTime(), call, inetSocketAddress, proxy)) override fun secureConnectStart(call: Call) = logEvent(SecureConnectStart(System.nanoTime(), call))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
@Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) { printEvent("dnsEnd"); } @Override public void connectStart( Call call, InetSocketAddress inetSocketAddress, Proxy proxy) { printEvent("connectStart"); } @Override public void secureConnectStart(Call call) { printEvent("secureConnectStart"); }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 5.3K bytes - Viewed (0)