Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for excludes (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         *
         * @param streamId client-initiated stream ID.  Must be an odd number.
         * @param promisedStreamId server-initiated stream ID.  Must be an even number.
         * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`, and `:path`.
         */
        @Throws(IOException::class)
        fun pushPromise(
          streamId: Int,
          promisedStreamId: Int,
          requestHeaders: List<Header>,
        )
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Tests for our hostname verifier. Most of these tests are from AOSP, which itself includes tests
     * from the Apache HTTP Client test suite.
     */
    class HostnameVerifierTest {
      private val verifier = OkHostnameVerifier
    
      @RegisterExtension
      var platform = PlatformRule()
    
      @Test fun verify() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

     *  New: Headers can be redacted in `HttpLoggingInterceptor`.
     *  New: `Headers.Builder` now accepts dates.
     *  New: OkHttp now accepts `java.time.Duration` for timeouts on Java 8+ and Android 26+.
     *  New: `Challenge` includes all authentication parameters.
     *  New: Upgrade to BouncyCastle 1.60, Conscrypt 1.4.0, and Okio 1.15.0. We don't yet require
        Kotlin-friendly Okio 2.x but OkHttp works fine with that series.
    
        ```kotlin
    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)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * mapping and Punycode encoding.
     *
     * In order to avoid confusion and discourage phishing attacks, [IDNA Mapping][idna] transforms
     * names to avoid confusing characters. This includes basic case folding: transforming shouting
     * `SQUARE.COM` into cool and casual `square.com`. It also handles more exotic characters. For
     * example, the Unicode trademark sign (™) could be confused for the letters "TM" in
    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. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

     */
    interface PushObserver {
      /**
       * Describes the request that the server intends to push a response for.
       *
       * @param streamId server-initiated stream ID: an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`,
       * and `:path`.
       */
      fun onRequest(
        streamId: Int,
        requestHeaders: List<Header>,
      ): Boolean
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      /** Ready async calls in the order they'll be run. */
      private val readyAsyncCalls = ArrayDeque<AsyncCall>()
    
      /** Running asynchronous calls. Includes canceled calls that haven't finished yet. */
      private val runningAsyncCalls = ArrayDeque<AsyncCall>()
    
      /** Running synchronous calls. Includes canceled calls that haven't finished yet. */
      private val runningSyncCalls = ArrayDeque<RealCall>()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

     * prefer other mechanisms where they exist, such as with
     * [okhttp3.internal.platform.AndroidPlatform.AndroidCertificateChainCleaner].
     *
     * This class includes code from [Conscrypt's][Conscrypt] [TrustManagerImpl] and
     * [TrustedCertificateIndex].
     *
     * [Conscrypt]: https://conscrypt.org/
     */
    class BasicCertificateChainCleaner(
      private val trustRootIndex: TrustRootIndex,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. README.md

           implementation("com.squareup.okhttp3:okhttp")
           implementation("com.squareup.okhttp3:logging-interceptor")
        }
    ```
    
    MockWebServer
    -------------
    
    OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
    
    The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/4.12.0/jar).
    
    ```kotlin
    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)
  9. docs/changelogs/changelog_2x.md

        connection takes more than 10 seconds to complete, you’ll need to adjust
        the timeouts manually.
    
     *  **OkHttp now rejects request headers that contain invalid characters.** This
        includes potential security problems (newline characters) as well as simple
        non-ASCII characters (including international characters and emoji).
    
     *  **Call canceling is more reliable.**  We had a bug where a socket being
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  10. CHANGELOG.md

     *  Upgrade: [Okio 3.2.0][okio_3_2_0].
    
    
    ## Version 5.0.0-alpha.9
    
    _2022-06-16_
    
     *  New: Enforce label length limits in URLs. `HttpUrl` now rejects URLs whose domains aren't valid.
        This includes overly-long domain names (longer than 253 characters), overly-long labels (more
        than 63 characters between dots), and empty labels.
     *  New: Don't include the `Content-Length` header in multipart bodies. Servers must delimit
    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)
Back to top