Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for APIs (0.16 sec)

  1. README.md

    OkHttp
    ======
    
    See the [project website][okhttp] for documentation and APIs.
    
    HTTP is the way modern applications network. It’s how we exchange data & media. Doing HTTP
    efficiently makes your stuff load faster and saves bandwidth.
    
    OkHttp is an HTTP client that’s efficient by default:
    
     * HTTP/2 support allows all requests to the same host to share a socket.
     * Connection pooling reduces request latency (if HTTP/2 isn’t available).
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

    import okhttp3.Response;
    import okio.BufferedSink;
    import okio.GzipSink;
    import okio.Okio;
    
    public final class RequestBodyCompression {
      /**
       * The Google API KEY for OkHttp recipes. If you're using Google APIs for anything other than
       * running these examples, please request your own client ID!
       *
       * https://console.developers.google.com/project
       */
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat May 25 18:02:55 GMT 2019
    - 3.8K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        return String(array)
      }
    
      /**
       * Okio buffers are internally implemented as a linked list of arrays. Usually this implementation
       * detail is invisible to the caller, but subtle use of certain APIs may depend on these internal
       * structures.
       *
       * We make such subtle calls in [okhttp3.internal.ws.MessageInflater] because we try to read a
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       * is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not
       * use this feature.
       *
       * ### Duplex APIs
       *
       * With regular request bodies it is not legal to write bytes to the sink passed to
       * [RequestBody.writeTo] after that method returns. For duplex requests bodies that condition is
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

        @JvmField val TLS_AES_128_CCM_SHA256 = init("TLS_AES_128_CCM_SHA256", 0x1304)
    
        @JvmField val TLS_AES_128_CCM_8_SHA256 = init("TLS_AES_128_CCM_8_SHA256", 0x1305)
    
        /**
         * @param javaName the name used by Java APIs for this cipher suite. Different than the IANA
         *     name for older cipher suites because the prefix is `SSL_` instead of `TLS_`.
         */
        @JvmStatic
        @Synchronized fun forJavaName(javaName: String): CipherSuite {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/Cookie.kt

      /** Returns true if this cookie should be limited to only HTTPS requests. */
      @get:JvmName("secure") val secure: Boolean,
      /**
       * Returns true if this cookie should be limited to only HTTP APIs. In web browsers this prevents
       * the cookie from being accessible to scripts.
       */
      @get:JvmName("httpOnly") val httpOnly: Boolean,
      /**
       * Returns true if this cookie does not expire at the end of the current session.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * Instances of [HttpUrl] are well-formed and always have a scheme, host, and path. With
     * `java.net.URL` it's possible to create an awkward URL like `http:/` with scheme and path but no
     * hostname. Building APIs that consume such malformed values is difficult!
     *
     * This class has a modern API. It avoids punitive checked exceptions: [toHttpUrl] throws
    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/RequestCommonTest.kt

            .build()
        assertThat(request.tag<Any>()).isNull()
        assertThat(request.tag(Any::class)).isNull()
        assertThat(request.tag(String::class)).isNull()
    
        // Alternate access APIs also work.
        assertThat(request.tag<String>()).isNull()
        assertThat(request.tag(String::class)).isNull()
      }
    
      @Test
      fun defaultTag() {
        val tag = "1234"
        val request =
    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 (0)
  9. docs/changelogs/upgrading_to_okhttp_4.md

    
    Code Cleanup
    ------------
    
    IntelliJ and Android Studio offer a **Code Cleanup** feature that will automatically update
    deprecated APIs with their replacements. Access this feature from the _Search Anywhere_ dialog
    (double-press shift) or under the _Analyze_ menu.
    
    We’ve included deprecated APIs in OkHttp 4.0 because they make migration easy. We will remove them
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  10. okhttp/src/main/resources/META-INF/proguard/okhttp3.pro

    -keeppackagenames okhttp3.internal.publicsuffix.*
    -adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz
    
    # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    # OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
    -dontwarn okhttp3.internal.platform.**
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 682 bytes
    - Viewed (0)
Back to top