Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,842 for buildid (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherCleanupTest.kt

            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              response.close()
            }
          }
        repeat(10_000) {
          okhttp.newCall(Request.Builder().url(server.url("/")).build()).enqueue(callback)
        }
        okhttp.dispatcher.executorService.shutdown()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class PostForm {
      private val client = OkHttpClient()
    
      fun run() {
        val formBody =
          FormBody
            .Builder()
            .add("search", "Jurassic Park")
            .build()
        val request =
          Request(
            url = "https://en.wikipedia.org/w/index.php".toHttpUrl(),
            body = formBody,
          )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class SynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.curl.Main
    import okhttp3.internal.http.StatusLine
    import okio.sink
    
    internal fun Main.commonCreateRequest(): Request {
      val request = Request.Builder()
    
      val requestMethod = method ?: if (data != null) "POST" else "GET"
    
      val url = url ?: throw IOException("No url provided")
    
      request.url(url)
    
      data?.let {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. docs/en/docs/alternatives.md

    ///
    
    ### <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> { #starlette }
    
    Starlette is a lightweight <abbr title="The new standard for building asynchronous Python web applications">ASGI</abbr> framework/toolkit, which is ideal for building high-performance asyncio services.
    
    It is very simple and intuitive. It's designed to be easily extensible, and have modular components.
    
    It has:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                if (rulesReader instanceof StringReader && ((StringReader) rulesReader).toString().length() == 0) {
                    synonymMap = null;
                    return;
                }
    
                SynonymMap.Builder parser = null;
    
                if ("wordnet".equalsIgnoreCase(settings.get("format"))) {
                    parser = new WordnetSynonymParser(true, expand, analyzer);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 6.7K bytes
    - Viewed (1)
  7. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

                        .toByteString()
                        .hex(),
                    )
                  }
                },
              ),
            ).build()
    
        val request = Request.Builder().url("https://facebook.com/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

          }
        thread.start()
        return thread
      }
    
      private fun newRequest(url: String): Request = Request.Builder().url(url).build()
    
      private fun newRequest(
        url: String,
        tag: String,
      ): Request =
        Request
          .Builder()
          .url(url)
          .tag(tag)
          .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. ci/official/utilities/setup_macos.sh

    fi
    
    # "TFCI_MACOS_UPGRADE_PYENV_ENABLE" is used to decide if we need to upgrade the
    # Pyenv version. We enable this for macOS x86 builds as the default Pyenv on
    # those VMs does not support installing Python 3.12 and above which we need
    # for running smoke tests in nightly/release wheel builds.
    if [[ "${TFCI_MACOS_UPGRADE_PYENV_ENABLE}" == 1 ]]; then
      echo "Upgrading pyenv..."
      echo "Current pyevn version: $(pyenv --version)"
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Jun 23 23:03:02 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        val proxyConnectRequest =
          Request
            .Builder()
            .url(route.address.url)
            .method("CONNECT", null)
            .header("Host", route.address.url.toHostHeader(includeDefaultPort = true))
            .header("Proxy-Connection", "Keep-Alive") // For HTTP/1.0 proxies like Squid.
            .header("User-Agent", USER_AGENT)
            .build()
    
        val fakeAuthChallengeResponse =
          Response
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top