- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for connectStart (0.18 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.6K bytes - Viewed (0) -
docs/features/events.md
0001 0.000 callStart 0002 https://www.nytimes.com/ 0002 0.000 callStart 0002 0.010 dnsStart 0001 0.013 dnsStart 0001 0.022 dnsEnd 0002 0.019 dnsEnd 0001 0.028 connectStart 0002 0.025 connectStart 0002 0.072 secureConnectStart 0001 0.075 secureConnectStart 0001 0.386 secureConnectEnd 0002 0.390 secureConnectEnd 0002 0.400 connectEnd 0001 0.403 connectEnd 0002 0.401 connectionAcquired
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 7.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")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 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, ) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
expectedEvents += "CallStart" expectedEvents += "ProxySelectStart" expectedEvents += "ProxySelectEnd" expectedEvents += "DnsStart" expectedEvents += "DnsEnd" expectedEvents += "ConnectStart" if (https) { expectedEvents += "SecureConnectStart" expectedEvents += "SecureConnectEnd" } expectedEvents += "ConnectEnd" expectedEvents += "ConnectionAcquired"
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.5K bytes - Viewed (0) -
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() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 9.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.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"); }
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 6.1K 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 }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.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))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9K bytes - Viewed (1) -
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,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 2.2K bytes - Viewed (0)