Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 116 for Must (0.14 sec)

  1. okhttp/build.gradle.kts

    }
    tasks.getByName("test") {
      dependsOn(copyOsgiTestDeployment)
    }
    
    dependencies {
      api(libs.squareup.okio)
      api(libs.kotlin.stdlib)
    
      // These compileOnly dependencies must also be listed in the OSGi configuration above.
      compileOnly(libs.robolectric.android)
      compileOnly(libs.bouncycastle.bcprov)
      compileOnly(libs.bouncycastle.bctls)
      compileOnly(libs.conscrypt.openjdk)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. CHANGELOG.md

        irrelevant data.
    
        This feature may be used with `POST` requests to cache their responses. In such cases the
        request body is not used to determine the cache key, so you must manually add cache-relevant
        data to the override URL. For example, you could add a `request-body-sha256` query parameter so
        requests with the same POST data get the same cache entry.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      // Socket reads are unguarded but are only made by the reader thread.
      //
      // Certain operations (like SYN_STREAM) need to synchronize on both the frameWriter (to do
      // blocking I/O) and this (to create streams). Such operations must synchronize on 'this' last.
      // This ensures that we never wait for a blocking operation while holding 'this'.
    
      /** True if this peer initiated the connection. */
      internal val client: Boolean = builder.client
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * The fragment is optional: it can be null, empty, or non-empty. Unlike host, port, path, and
     * query the fragment is not sent to the webserver: it's private to the client.
     *
     * ## Encoding
     *
     * Each component must be encoded before it is embedded in the complete URL. As we saw above, the
     * string `cute #puppies` is encoded as `cute%20%23puppies` when used as a query parameter value.
     *
     * ### Percent encoding
     *
    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)
  5. gradlew

    MAX_FD=maximum
    
    warn () {
        echo "$*"
    } >&2
    
    die () {
        echo
        echo "$*"
        echo
        exit 1
    } >&2
    
    # OS specific support (must be 'true' or 'false').
    cygwin=false
    msys=false
    darwin=false
    nonstop=false
    case "$( uname )" in                #(
      CYGWIN* )         cygwin=true  ;; #(
      Darwin* )         darwin=true  ;; #(
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

                isAccessible = true
              }
              .get(this) as? SecretKey
    
        val randomRegex = "\"random\"\\s+:\\s+\"([^\"]+)\"".toRegex()
    
        fun register() {
          // Enable JUL logging for SSL events, must be activated early or via -D option.
          System.setProperty("javax.net.debug", "")
          logger =
            Logger.getLogger("javax.net.ssl")
              .apply {
                level = Level.FINEST
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

        /**
         * Returns a new instance configured with a default encode set for the ASCII range. The specific
         * rules vary per-component: for example, '?' may be identity-encoded in a fragment, but must be
         * percent-encoded in a path.
         *
         * See https://url.spec.whatwg.org/#percent-encoded-bytes
         */
        fun newInstance(): UrlComponentEncodingTester {
          return UrlComponentEncodingTester()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/platform/PlatformTest.kt

      @Test
      fun testToStringIsClassname() {
        assertThat(Platform().toString()).isEqualTo("Platform")
      }
    
      @Test
      fun testNotAndroid() {
        platform.assumeNotAndroid()
    
        // This is tautological so just confirms that it runs.
        assertThat(isAndroid).isEqualTo(false)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

       * framing. Ignore the socket completely until the server is shut down.
       */
      object StallSocketAtStart : SocketPolicy
    
      /**
       * Read the request but don't respond to it. Just keep the socket open. For testing read response
       * header timeout issue.
       */
      object NoResponse : SocketPolicy
    
      /**
       * Fail HTTP/2 requests without processing them by sending [http2ErrorCode].
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

          +  "KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg==\n"
          +  "-----END CERTIFICATE-----");
    
      private final OkHttpClient client;
    
      public CustomTrust() {
        // This implementation just embeds the PEM files in Java strings; most applications will
        // instead read this from a resource file that gets bundled with the application.
    
        HandshakeCertificates certificates = new HandshakeCertificates.Builder()
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 9.3K bytes
    - Viewed (2)
Back to top