Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 153 for newCall (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        newWebSocket()
        clientListener.assertFailure()
        val regularRequest =
          Request
            .Builder()
            .url(webServer.url("/"))
            .build()
        val response = client.newCall(regularRequest).execute()
        response.close()
        assertThat(webServer.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(webServer.takeRequest().exchangeIndex).isEqualTo(1)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. okhttp/api/jvm/okhttp.api

    	public abstract fun isExecuted ()Z
    	public abstract fun request ()Lokhttp3/Request;
    	public abstract fun timeout ()Lokio/Timeout;
    }
    
    public abstract interface class okhttp3/Call$Factory {
    	public abstract fun newCall (Lokhttp3/Request;)Lokhttp3/Call;
    }
    
    public abstract interface class okhttp3/Callback {
    	public abstract fun onFailure (Lokhttp3/Call;Ljava/io/IOException;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        }
    
      private lateinit var call: RealCall
      private val routeDatabase = RouteDatabase()
    
      @BeforeEach fun setUp() {
        call =
          clientTestRule.newClient().newCall(
            Request
              .Builder()
              .url("https://$uriHost:$uriPort/")
              .build(),
          ) as RealCall
      }
    
      @AfterEach fun tearDown() {
        factory.close()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val readTimeoutMillis: Int = client.readTimeoutMillis
        val writeTimeoutMillis: Int = client.writeTimeoutMillis
        val pingIntervalMillis: Int = client.pingIntervalMillis
        val call: Call = client.newCall(Request.Builder().build())
        val webSocket: WebSocket =
          client.newWebSocket(
            Request.Builder().build(),
            object : WebSocketListener() {
            },
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     *     .cacheControl(new CacheControl.Builder()
     *         .onlyIfCached()
     *         .build())
     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * Response forceCacheResponse = client.newCall(request).execute();
     * if (forceCacheResponse.code() != 504) {
     *   // The resource was cached! Show it.
     * } else {
     *   // The resource was not cached.
     * }
     * ```
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     *
     * ```java
     * OkHttpClient eagerClient = client.newBuilder()
     *     .readTimeout(500, TimeUnit.MILLISECONDS)
     *     .build();
     * Response response = eagerClient.newCall(request).execute();
     * ```
     *
     * ## Shutdown Isn't Necessary
     *
     * The threads and connections that are held will be released automatically if they remain idle. But
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  7. okhttp/api/android/okhttp.api

    	public abstract fun isExecuted ()Z
    	public abstract fun request ()Lokhttp3/Request;
    	public abstract fun timeout ()Lokio/Timeout;
    }
    
    public abstract interface class okhttp3/Call$Factory {
    	public abstract fun newCall (Lokhttp3/Request;)Lokhttp3/Call;
    }
    
    public abstract interface class okhttp3/Callback {
    	public abstract fun onFailure (Lokhttp3/Call;Ljava/io/IOException;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/OkHttpClient;-><clinit>()V
    HSPLokhttp3/OkHttpClient;-><init>(Lokhttp3/OkHttpClient$Builder;)V
    HSPLokhttp3/OkHttpClient;->newBuilder()Lokhttp3/OkHttpClient$Builder;
    HSPLokhttp3/OkHttpClient;->newCall(Lokhttp3/Request;)Lokhttp3/Call;
    HSPLokhttp3/Protocol$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V
    HSPLokhttp3/Protocol;-><clinit>()V
    HSPLokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          synchronized (this) {
            if (!executed) {
              RunnableExecutorPair newTail = new RunnableExecutorPair(runnable, executor);
              if (head == null) {
                head = newTail;
                tail = newTail;
              } else {
                tail.next = newTail;
                tail = newTail;
              }
              return;
            }
          }
          executeListener(runnable, executor);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. cmd/xl-storage-meta-inline.go

    			newKeys = append(newKeys, foundKey)
    			newVals = append(newVals, foundVal)
    		} else {
    			found = true
    		}
    	}
    	// If not found, just return.
    	if !found {
    		return false
    	}
    	// If none left...
    	if len(newKeys) == 0 {
    		*x = nil
    		return true
    	}
    
    	// Reserialize...
    	x.serialize(plSize, newKeys, newVals)
    	return true
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top