Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for once (7.37 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // Add a string with zero slashes: resulting URL gains one slash.
        assertThat(base.newBuilder().addPathSegments("").build().encodedPath)
          .isEqualTo("/a/b/c/")
        assertThat(base.newBuilder().addPathSegments("d").build().encodedPath)
          .isEqualTo("/a/b/c/d")
    
        // Add a string with one slash: resulting URL gains two slashes.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. kotlin-js-store/yarn.lock

      integrity sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==
      dependencies:
        ee-first "1.1.1"
    
    once@^1.3.0:
      version "1.4.0"
      resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
      integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
      dependencies:
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

        builder.interceptors.toImmutableList()
    
      /**
       * Returns an immutable list of interceptors that observe a single network request and response.
       * These interceptors must call [Interceptor.Chain.proceed] exactly once: it is an error for
       * a network interceptor to short-circuit or repeat a network request.
       */
      @get:JvmName("networkInterceptors")
      val networkInterceptors: List<Interceptor> =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

     *  Fix: Don't leak a connection when a call is canceled immediately preceding the `onFailure()`
        callback.
    
     *  Fix: Apply call timeouts when connecting duplex calls, web sockets, and server-sent events.
        Once the streams are established no further timeout is enforced.
    
     *  Fix: Retain the `Route` when a connection is reused on a redirect or other follow-up. This was
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        cache.close()
        createNewCache()
    
        // The journal will have no record that 'a' was removed. It will have an entry for 'a', but when
        // it tries to read the cache files, it will find they were deleted. Once it encounters an entry
        // with missing cache files, it should remove it from the cache entirely.
        assertThat(cache.size()).isEqualTo(4)
        assertThat(cache["a"]).isNull()
        assertThat(cache.size()).isEqualTo(2)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response.body.string()).isEqualTo("abc")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
        // Note that although we have two routes available, we only use one. The retry is permitted
        // because there are routes available, but it chooses the existing connection since it isn't
        // yet considered unhealthy.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       * | `http://[::1]/`       | `"::1"`         |
       * | `http://xn--n3h.net/` | `"xn--n3h.net"` |
       */
      @get:JvmName("host") val host: String,
      /**
       * The explicitly-specified port if one was provided, or the default port for this URL's scheme.
       * For example, this returns 8443 for `https://square.com:8443/` and 443 for
       * `https://square.com/`. The result is in `[1..65535]`.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        // two outgoing writes
        val sink = stream.getSink()
        sink.write(Buffer().writeUtf8("abcde"), 5)
        sink.write(Buffer().writeUtf8("fghij"), 5)
        sink.close()
    
        // verify the peer received one incoming frame
        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_HEADERS)
        val data = peer.takeFrame()
        assertThat(data.type).isEqualTo(Http2.TYPE_DATA)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top