Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Settings (0.19 sec)

  1. .vscode/settings.json

    Yuri Schimke <******@****.***> 1713104645 +0100
    Json
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 52 bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /**
     * Settings describe characteristics of the sending peer, which are used by the receiving peer.
     * Settings are [connection][Http2Connection] scoped.
     */
    class Settings {
      /** Bitfield of which flags that values. */
      private var set: Int = 0
    
      /** Flag values. */
      private val values = IntArray(COUNT)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. settings.gradle.kts

    project(":mockwebserver-junit4").name = "mockwebserver3-junit4"
    include(":mockwebserver-junit5")
    project(":mockwebserver-junit5").name = "mockwebserver3-junit5"
    
    val androidBuild: String by settings
    val graalBuild: String by settings
    val loomBuild: String by settings
    
    if (androidBuild.toBoolean()) {
      include(":regression-test")
    }
    
    if (graalBuild.toBoolean()) {
      include(":native-image-tests")
    }
    
    include(":okcurl")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

        @JvmField var data: ByteArray? = null
    
        @JvmField var settings: Settings? = null
    
        @JvmField var ack = false
    
        @JvmField var payload1 = 0
    
        @JvmField var payload2 = 0
    
        override fun settings(
          clearPrevious: Boolean,
          settings: Settings,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_SETTINGS
          this.clearPrevious = clearPrevious
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        stream.close(ErrorCode.REFUSED_STREAM, null)
      }
    
      /** When settings are received, adjust the allocation limit. */
      override fun onSettings(
        connection: Http2Connection,
        settings: Settings,
      ) {
        lock.withLock {
          val oldLimit = allocationLimit
          allocationLimit = settings.getMaxConcurrentStreams()
    
          if (allocationLimit < oldLimit) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

        assertThat(recorded.headers["Connection"]).isEqualTo("Upgrade, HTTP2-Settings")
        if (PlatformVersion.majorVersion < 19) {
          assertThat(recorded.headers["Content-Length"]).isEqualTo("0")
        }
        assertThat(recorded.headers["HTTP2-Settings"]).isNotNull()
        assertThat(recorded.headers["Upgrade"]).isEqualTo("h2c") // HTTP/2 over plaintext!
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      }
    
      /** Merges [settings] into this peer's settings and sends them to the remote peer. */
      @Throws(IOException::class)
      fun setSettings(settings: Settings) {
        writer.withLock {
          this.withLock {
            if (isShutdown) {
              throw ConnectionShutdownException()
            }
            okHttpSettings.merge(settings)
          }
          writer.settings(settings)
        }
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

    Please be considerate of your servers and their operators as you roll out this release. Compression
    saves bandwidth but it costs CPU and memory! If you run into a problem you may need to adjust or
    disable the `permessage-deflate` compression settings on your server.
    
    Note that OkHttp won't use compression when sending messages smaller than 1 KiB.
    
     *  Fix: Don't crash when the URL hostname contains an underscore on Android.
    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)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      fun withPush(promise: PushPromise) =
        apply {
          promises.add(promise)
        }
    
      fun withSettings(settings: Settings) =
        apply {
          this.settings = settings
        }
    
      fun withWebSocketUpgrade(listener: WebSocketListener) =
        apply {
          status = "HTTP/1.1 101 Switching Protocols"
          setHeader("Connection", "Upgrade")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. 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(
        handler: Handler,
        length: Int,
        flags: Int,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top