Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setLine (0.22 sec)

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

        set = set or bit
        values[id] = value
        return this
      }
    
      /** Returns true if a value has been assigned for the setting `id`. */
      fun isSet(id: Int): Boolean {
        val bit = 1 shl id
        return set and bit != 0
      }
    
      /** Returns the value for the setting `id`, or 0 if unset. */
      operator fun get(id: Int): Int = values[id]
    
      /** Returns the number of settings that have values assigned. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     * [Adam Langley's Weblog][langley]. Pins are either base64 SHA-256 hashes as in
     * [HTTP Public Key Pinning (HPKP)][rfc_7469] or SHA-1 base64 hashes as in Chromium's
     * [static certificates][static_certificates].
     *
     * ## Setting up Certificate Pinning
     *
     * The easiest way to pin a host is turn on pinning with a broken configuration and read the
     * expected configuration when the connection fails. Be sure to do this on a trusted network, and
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  3. docs/changelogs/changelog_3x.md

        These classes make it possible to enable HTTPS in MockWebServer in [just a few lines of
        code][https_server_sample].
    
     *  **OkHttp now supports prior knowledge cleartext HTTP/2.** Enable this by setting
        `Protocol.H2_PRIOR_KNOWLEDGE` as the lone protocol on an `OkHttpClient.Builder`. This mode
        only supports `http:` URLs and is best suited in closed environments where HTTPS is
        inappropriate.
    
    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/internal/http2/Http2Reader.kt

              }
            }
    
            // SETTINGS_MAX_HEADER_LIST_SIZE
            6 -> { // Advisory only, so ignored.
            }
    
            // Must ignore setting with unknown id.
            else -> {
            }
          }
          settings[id] = value
        }
        handler.settings(false, settings)
      }
    
      @Throws(IOException::class)
      private fun readPushPromise(
    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)
  5. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      ): Int {
        var result = 0
        for (log in logs) {
          if (log == message) {
            result++
          }
        }
        return result
      }
    
      /**
       * Push a setting that permits up to 2 concurrent streams, then make 3 concurrent requests and
       * confirm that the third concurrent request prepared a new connection.
       */
      @ParameterizedTest
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Cookie.kt

       *    potentially-destructive navigation. This is the default value.
       *
       *  - "None": the cookie is always sent. The "Secure" attribute must also be set when setting this
       *    value.
       */
      @get:JvmName("sameSite")
      val sameSite: String?,
    ) {
      /**
       * Returns true if this cookie should be included on a request to [url]. In addition to this
    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/internal/cache/DiskLruCache.kt

        /** True if this entry must be deleted when the current edit or read completes. */
        internal var zombie: Boolean = false
    
        /**
         * The ongoing edit or null if this entry is not being edited. When setting this to null the
         * entry must be removed if it is a zombie.
         */
        internal var currentEditor: Editor? = null
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

      @Test
      fun clientPrematureDisconnectWithNoLengthHeaders() {
        testClientPrematureDisconnect(TransferKind.END_OF_STREAM)
      }
    
      private fun testClientPrematureDisconnect(transferKind: TransferKind) {
        // Setting a low transfer speed ensures that stream discarding will time out.
        val builder =
          MockResponse.Builder()
            .throttleBody(6, 1, TimeUnit.SECONDS)
    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)
  9. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

          }
    
        @Deprecated(
          "since OkHttp 3.13 all TLS-connections are expected to support TLS extensions.\n" +
            "In a future release setting this to true will be unnecessary and setting it to false\n" +
            "will have no effect.",
        )
        fun supportsTlsExtensions(supportsTlsExtensions: Boolean) =
          apply {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    seki.gifu.jp sekigahara.gifu.jp sekikawa.niigata.jp sel.no selbu.no select selfip.biz selfip.com selfip.info selfip.net selfip.org selje.no seljord.no sellfy.store sells-for-less.com sells-for-u.com sells-it.net sellsyourhome.org semboku.akita.jp semine.miyagi.jp senasa.ar sener sennan.osaka.jp senseering.net seoul.kr sera.hiroshima.jp seranishi.hiroshima.jp servebbs.com servebbs.net servebbs.org servebeer.com serveblog.net servecounterstrike.com serveexchange.com serveftp.com serveftp.net serveftp.org...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
Back to top