- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,718 for Call (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
import kotlin.reflect.KClass import okio.IOException import okio.Timeout /** * A call is a request that has been prepared for execution. A call can be canceled. As this object * represents a single request/response pair (stream), it cannot be executed twice. */ interface Call : Cloneable { /** Returns the original request that initiated this call. */ fun request(): Request /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 6.8K bytes - Viewed (0) -
src/all.bat
L1::: Copyright 2012 The Go Authors. All rights reserved. L2::: Use of this source code is governed by a BSD-style L3::: license that can be found in the LICENSE file. L4: L5:@echo off L6: L7:setlocal L8: L9:if not exist make.bat ( L10: echo all.bat must be run from go\src L11: exit /b 1 L12:) L13: L14:call .\make.bat --no-banner || exit /b 1 L15:call .\run.bat --no-rebuild || exit /b 1 L16:..\bin\go tool dist banner ...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Feb 11 17:45:10 UTC 2025 - 388 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
call: Call, connection: Connection, ) { logWithTime("connectionReleased") } override fun requestHeadersStart(call: Call) { logWithTime("requestHeadersStart") } override fun requestHeadersEnd( call: Call, request: Request, ) { logWithTime("requestHeadersEnd") } override fun requestBodyStart(call: Call) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:03:04 UTC 2025 - 5.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
@Override public void proxySelectStart(Call call, HttpUrl url) { printEvent("proxySelectStart"); } @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) { printEvent("proxySelectEnd"); } @Override public void callStart(Call call) { printEvent("callStart"); } @Override public void dnsStart(Call call, String domainName) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
okhttp-logging-interceptor/api/logging-interceptor.api
public fun requestHeadersStart (Lokhttp3/Call;)V public fun responseBodyEnd (Lokhttp3/Call;J)V public fun responseBodyStart (Lokhttp3/Call;)V public fun responseFailed (Lokhttp3/Call;Ljava/io/IOException;)V public fun responseHeadersEnd (Lokhttp3/Call;Lokhttp3/Response;)V public fun responseHeadersStart (Lokhttp3/Call;)V public fun satisfactionFailure (Lokhttp3/Call;Lokhttp3/Response;)V
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 15:15:46 UTC 2025 - 4.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
} } override fun connectStart( route: Route, call: Call, ) = logEvent(ConnectionEvent.ConnectStart(System.nanoTime(), route, call)) override fun connectFailed( route: Route, call: Call, failure: IOException, ) = logEvent( ConnectionEvent.ConnectFailed(System.nanoTime(), route, call, failure), ) override fun connectEnd( connection: Connection,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt
override val timestampNs: Long, val route: Route, val call: Call, ) : ConnectionEvent() data class ConnectFailed( override val timestampNs: Long, val route: Route, val call: Call, val exception: IOException, ) : ConnectionEvent() { override fun closes(event: ConnectionEvent): Boolean = event is ConnectStart && call == event.call && route == event.route } data class ConnectEnd(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 2.6K 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) -
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
.build(); final long startNanos = System.nanoTime(); final Call call = client.newCall(request); // Schedule a job to cancel the call in 1 second. executor.schedule(() -> { System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f); call.cancel(); System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f); }, 1, TimeUnit.SECONDS);
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.1K bytes - Viewed (0) -
okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java
.tag(Integer.class, 5) .tag(String.class, "hello") .build(); Call call = client.newCall(request); assertEquals(5, call.tag(Integer.class)); assertEquals("hello", call.tag(String.class)); assertEquals(null, call.tag(Boolean.class)); assertEquals(null, call.tag(Object.class)); } @Test public void tagsCanBeComputed() { Request request = new Request.Builder()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Oct 26 14:54:46 UTC 2025 - 1.7K bytes - Viewed (0)