- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 423 for call1 (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt
var shouldClose: Boolean = false var lastSocket: Socket? = null override fun connectionAcquired( call: Call, connection: Connection, ) { lastSocket = connection.socket() } override fun requestHeadersStart(call: Call) { if (shouldClose) { lastSocket!!.close() } } } @Test fun socketFailureOnLargeRequestHeaders() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 3K bytes - Viewed (0) -
docs/features/calls.md
Calls are executed in one of two ways: * **Synchronous:** your thread blocks until the response is readable. * **Asynchronous:** you enqueue the request on any thread, and get [called back](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-callback/) on another thread when the response is readable.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
computeIfAbsent: () -> T, ): T /** * Create a new, identical call to this one which can be enqueued or executed even if this call * has already been. * * The tags on the returned call will equal the tags as on [request]. Any tags that were computed * for this call will not be included on the cloned call. If necessary you may manually copy over * specific tags by re-computing them: *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 6.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTagsTest.kt
.url("https://square.com") .build() val callA = client.newCall(request) assertThat(callA.tag(String::class) { "a" }).isEqualTo("a") assertThat(callA.tag(String::class) { "b" }).isEqualTo("a") val callB = callA.clone() assertThat(callB.tag(String::class) { "c" }).isEqualTo("c") assertThat(callB.tag(String::class) { "d" }).isEqualTo("c") }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Oct 26 14:54:46 UTC 2025 - 2.8K bytes - Viewed (0) -
docs/features/events.md
} @Override public void callStart(Call call) { printEvent("callStart"); } @Override public void callEnd(Call call) { printEvent("callEnd"); } @Override public void dnsStart(Call call, String domainName) { printEvent("dnsStart"); } @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) { printEvent("dnsEnd");
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/PeekingIterator.java
* * <p>The objects returned by consecutive calls to {@link #peek()} then {@link #next()} are * guaranteed to be equal to each other. */ @CanIgnoreReturnValue @Override @ParametricNullness E next(); /** * {@inheritDoc} * * <p>Implementations may or may not support removal when a call to {@link #peek()} has occurred * since the most recent call to {@link #next()}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Oct 06 18:34:01 UTC 2025 - 2.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* * Other exception types cancel the current call: * * * For synchronous calls made with [Call.execute], the exception is propagated to the caller. * * * For asynchronous calls made with [Call.enqueue], an [IOException] is propagated to the caller * indicating that the call was canceled. The interceptor's exception is delivered to the current
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
return copy(writeTimeoutMillis = checkDuration("writeTimeout", timeout.toLong(), unit)) } override fun call(): Call = call override fun request(): Request = request @Throws(IOException::class) override fun proceed(request: Request): Response { check(index < interceptors.size) calls++ if (exchange != null) { check(exchange.finder.routePlanner.sameHostAndPort(request.url)) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
} @Test @DisplayName("Test multiple calls to isSigningEnforced") void testMultipleCallsToIsSigningEnforced() { // Given when(negotiationRequest.isSigningEnforced()).thenReturn(true).thenReturn(false).thenReturn(true); // When & Then assertTrue(negotiationRequest.isSigningEnforced(), "First call should return true");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0)