Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for instead (0.18 sec)

  1. okhttp-android/build.gradle.kts

      androidTestImplementation(libs.androidx.test.runner)
    }
    
    mavenPublishing {
      // AGP 7.2 embeds Dokka 4, which breaks publishing. Android modules are hardcoded to generate Javadoc instead of Gfm.
      configure(com.vanniktech.maven.publish.AndroidSingleVariantLibrary(publishJavadocJar=false))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. mockwebserver/README.md

    Dispatcher (`import okhttp3.mockwebserver.Dispatcher`) to handle requests using another policy. One natural policy is to
    dispatch on the request path.
    You can, for example, filter the request instead of using `server.enqueue()`.
    
    ```java
    final Dispatcher dispatcher = new Dispatcher() {
    
        @Override
        public MockResponse dispatch (RecordedRequest request) throws InterruptedException {
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  3. docs/changelogs/changelog_4x.md

     *  Fix: Fail permanently when there's a failure loading the bundled public suffix database.
        This is the dataset that powers `HttpUrl.topPrivateDomain()`.
    
     *  Fix: Immediately update the connection's flow control window instead of waiting for the
        receiving stream to process it.
    
        This change may increase OkHttp's memory use for applications that make many concurrent HTTP
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/question.md

    ---
    name: Question
    about: Use Stack Overflow instead
    title: "\U0001F649"
    labels: ''
    assignees: ''
    
    ---
    
    🛑 𝙎𝙏𝙊𝙋
    
    This issue tracker is not the place for questions!
    
    If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/okhttp
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 406 bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt

    ) : Dns {
      @Throws(UnknownHostException::class)
      override fun lookup(hostname: String): List<InetAddress> {
        if (this.dnsHostname != hostname) {
          throw UnknownHostException(
            "BootstrapDns called for $hostname instead of $dnsHostname",
          )
        }
    
        return dnsServers
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (2)
  6. okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt

      }
    
      /**
       * Because our API always transcodes through UTF-8, and that transcoding replaces unpaired
       * surrogates with '?', we can't test this behavior with Java Strings. Instead, pass the surrogate
       * code itself encoded as UTF-8 sequence.
       */
      @Test fun prohibitionSurrogateCodes() {
        // UTF-8 encoding of the high surrogate U+D800.
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

          length,
          formattedType,
          formattedFlags,
        )
      }
    
      /**
       * Returns a human-readable representation of a `WINDOW_UPDATE` frame. This frame includes the
       * window size increment instead of flags.
       */
      fun frameLogWindowUpdate(
        inbound: Boolean,
        streamId: Int,
        length: Int,
        windowSizeIncrement: Long,
      ): String {
        val formattedType = formattedType(TYPE_WINDOW_UPDATE)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt

    /**
     * Do not use this.
     *
     * Instead, configure your OkHttpClient.Builder to use `Authenticator.JAVA_NET_AUTHENTICATOR`:
     *
     * ```
     *   val okHttpClient = OkHttpClient.Builder()
     *     .authenticator(okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR)
     *     .build()
     * ```
     */
    @Deprecated(message = "Use okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR instead")
    class JavaNetAuthenticator : Authenticator {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  9. docs/features/https.md

            }
          }
    
          /**
           * Returns an input stream containing one or more certificate PEM files. 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.
           */
          private fun trustedCertificatesInputStream(): InputStream {
            ... // Full source omitted. See sample.
          }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          const val LOOM_PROPERTY = "loom"
    
          /**
           * For whatever reason our BouncyCastle provider doesn't work with ECDSA keys. Just configure it
           * to use RSA-2048 instead.
           *
           * (We otherwise prefer ECDSA because it's faster.)
           */
          private val localhostHandshakeCertificatesWithRsa2048: HandshakeCertificates by lazy {
            val heldCertificate =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top