Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for Settings (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        writeMedium(frame, 12) // 2 settings * 6 bytes (2 for the code and 4 for the value).
        frame.writeByte(Http2.TYPE_SETTINGS)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(0) // Settings are always on the connection stream 0.
        frame.writeShort(1) // SETTINGS_HEADER_TABLE_SIZE
        frame.writeInt(reducedTableSizeBytes)
        frame.writeShort(2) // SETTINGS_ENABLE_PUSH
        frame.writeInt(0)
        reader.nextFrame(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          }
          connection.flush()
          cancelStreamIfNecessary()
        }
      }
    
      companion object {
        internal const val EMIT_BUFFER_SIZE = 16384L
      }
    
      /** [delta] will be negative if a settings frame initial window is smaller than the last. */
      fun addBytesToWriteWindow(delta: Long) {
        writeBytesMaximum += delta
        if (delta > 0L) {
          condition.signalAll()
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  3. docs/changelogs/changelog_2x.md

     *  Fix: Use the socket factory for direct connections.
     *  Fix: Honor `OkUrlFactory` APIs that disable redirects.
     *  Fix: Don't crash on concurrent modification of `SPDY` SPDY settings.
    
    ## Version 2.0.0
    
    This release commits to a stable 2.0 API. Read the 2.0.0-RC1 changes for advice
    on upgrading from 1.x to 2.x.
    
    _2014-06-21_
    
    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)
  4. okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt

        assertThat(frameLog(false, 3, 100, TYPE_HEADERS, FLAG_END_HEADERS))
          .isEqualTo(">> 0x00000003   100 HEADERS       END_HEADERS")
        assertThat(frameLog(false, 3, 0, TYPE_DATA, FLAG_END_STREAM))
          .isEqualTo(">> 0x00000003     0 DATA          END_STREAM")
        assertThat(frameLog(true, 0, 15, TYPE_SETTINGS, FLAG_NONE))
          .isEqualTo("<< 0x00000000    15 SETTINGS      ")
        assertThat(frameLog(false, 0, 0, TYPE_SETTINGS, FLAG_ACK))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. okcurl/build.gradle.kts

      into("$buildDir/generated/resources-templates")
      expand("projectVersion" to "${project.version}")
      filteringCharset = Charsets.UTF_8.toString()
    }
    
    kotlin {
      sourceSets {
        val main by getting {
          resources.srcDir(copyResourcesTemplates.get().outputs)
        }
      }
    }
    
    dependencies {
      api(libs.kotlin.stdlib)
      api(projects.okhttp)
      api(projects.loggingInterceptor)
      api(libs.squareup.okio)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.8K bytes
    - Viewed (1)
  6. 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)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        var pushPromises: List<PushPromise> = mockResponse.pushPromises
        pushPromises = mockResponse.pushPromises
        mockResponse = mockResponse.withSettings(Settings())
        var settings: Settings = mockResponse.settings
        settings = mockResponse.settings
        mockResponse =
          mockResponse.withWebSocketUpgrade(
            object : WebSocketListener() {
            },
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Viewed (1)
  8. okhttp/src/test/java/okhttp3/internal/http2/BaseTestHandler.kt

        headerBlock: List<Header>,
      ) {
        fail("")
      }
    
      override fun rstStream(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        fail("")
      }
    
      override fun settings(
        clearPrevious: Boolean,
        settings: Settings,
      ) {
        fail("")
      }
    
      override fun ackSettings() {
        fail("")
      }
    
      override fun ping(
        ack: Boolean,
        payload1: Int,
        payload2: Int,
      ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. build.gradle.kts

      configure<AnimalSnifferExtension> {
        annotation = "okhttp3.internal.SuppressSignatureCheck"
        sourceSets = listOf(project.sourceSets["main"])
      }
    
      val signature: Configuration by configurations.getting
      dependencies {
        // No dependency requirements for testing-support.
        if (project.name == "okhttp-testing-support") return@dependencies
    
        if (project.name == "mockwebserver3-junit5") {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. .gitignore

    .classpath
    .project
    .settings
    .gradle
    eclipsebin
    
    bin
    gen
    build
    out
    lib
    generated
    
    target
    pom.xml.*
    release.properties
    local.properties
    
    .idea
    *.iml
    *.ipr
    *.iws
    *.log
    classes
    
    obj
    
    .DS_Store
    
    # Special Mkdocs files
    docs/4.x
    docs/changelog.md
    docs/contributing.md
    docs/index.md
    
    # jenv
    /.java-version
    /site/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 10 11:52:12 GMT 2022
    - 337 bytes
    - Viewed (0)
Back to top