Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for Support (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       * requests on the same socket, and server-push. HTTP/1.1 semantics are layered on SPDY/3.
       *
       * Current versions of OkHttp do not support this protocol.
       */
      @Deprecated("OkHttp has dropped support for SPDY. Prefer {@link #HTTP_2}.")
      SPDY_3("spdy/3.1"),
    
      /**
       * The IETF's binary-framed protocol that includes header compression, multiplexing multiple
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:33 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * ### Scheme
     *
     * Sometimes referred to as *protocol*, A URL's scheme describes what mechanism should be used to
     * retrieve the resource. Although URLs have many schemes (`mailto`, `file`, `ftp`), this class only
     * supports `http` and `https`. Use [java.net.URI][URI] for URLs with arbitrary schemes.
     *
     * ### Username and Password
     *
     * Username and password are either present, or the empty string `""` if absent. This class offers
    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)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        testRequestMethod("GET", true)
      }
    
      @Test
      fun requestMethodHeadIsNotCached() {
        // We could support this but choose not to for implementation simplicity
        testRequestMethod("HEAD", false)
      }
    
      @Test
      fun requestMethodPostIsNotCached() {
        // We could support this but choose not to for implementation simplicity
        testRequestMethod("POST", false)
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp-sse/Module.md

    # Module okhttp-sse
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:27:49 GMT 2019
    - 53 bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/feature_request.md

    title: ''
    labels: enhancement
    assignees: ''
    
    ---
    
    Start by telling us what problem you’re trying to solve. Often a solution already exists!
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 350 bytes
    - Viewed (0)
  6. okhttp-coroutines/README.md

    OkHttp Coroutines
    =================
    
    Support for Kotlin clients using coroutines.
    
    ```kotlin
    val call = client.newCall(request)
    
    call.executeAsync().use { response ->
      withContext(Dispatchers.IO) {
        println(response.body?.string())
      }
    }
    ```
    
    This is implemented using `suspendCancellableCoroutine`
    but uses the standard Dispatcher in OkHttp. This means
    that by default Kotlin's Dispatchers are not used.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Nov 09 15:47:27 GMT 2023
    - 609 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

      private val provider: Provider = Conscrypt.newProvider()
    
      // See release notes https://groups.google.com/forum/#!forum/conscrypt
      // for version differences
      override fun newSSLContext(): SSLContext =
        // supports TLSv1.3 by default (version api is >= 1.4.0)
        SSLContext.getInstance("TLS", provider)
    
      override fun platformTrustManager(): X509TrustManager {
        val trustManagers =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Address.kt

      val url: HttpUrl =
        HttpUrl.Builder()
          .scheme(if (sslSocketFactory != null) "https" else "http")
          .host(uriHost)
          .port(uriPort)
          .build()
    
      /**
       * The protocols the client supports. This method always returns a non-null list that
       * contains minimally [Protocol.HTTP_1_1].
       */
      @get:JvmName("protocols")
      val protocols: List<Protocol> = protocols.toImmutableList()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt

     * limitations under the License.
     */
    package okhttp3.brotli
    
    import okhttp3.Interceptor
    import okhttp3.Response
    import okhttp3.brotli.internal.uncompress
    
    /**
     * Transparent Brotli response support.
     *
     * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in
     * responses.  n.b. this replaces the transparent gzip compression in BridgeInterceptor.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * Tests how each code point is encoded and decoded in the context of each URL component.
     *
     * This supports [HttpUrlTest].
     */
    class UrlComponentEncodingTester private constructor() {
      private val encodings: MutableMap<Int, Encoding> = LinkedHashMap()
    
      private fun allAscii(encoding: Encoding) =
        apply {
    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)
Back to top