- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for okHttpSettings (0.1 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
@Throws(IOException::class) @JvmOverloads fun start(sendConnectionPreface: Boolean = true) { if (sendConnectionPreface) { writer.connectionPreface() writer.settings(okHttpSettings) val windowSize = okHttpSettings.initialWindowSize if (windowSize != DEFAULT_INITIAL_WINDOW_SIZE) { writer.windowUpdate(0, (windowSize - DEFAULT_INITIAL_WINDOW_SIZE).toLong()) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 32.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
/** True if response headers have been sent or received. */ private var hasResponseHeaders: Boolean = false internal val source = FramingSource( maxByteCount = connection.okHttpSettings.initialWindowSize.toLong(), finished = inFinished, ) internal val sink = FramingSink( finished = outFinished, ) internal val readTimeout = StreamTimeout()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 23.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.acceptFrame() // stream WINDOW UPDATE } peer.sendFrame().data(true, 3, data(0), 0) peer.play() // Play it back. val connection = connect(peer) connection.okHttpSettings[Settings.INITIAL_WINDOW_SIZE] = windowSize val stream = connection.newStream(headerEntries("b", "banana"), false) assertThat(stream.readBytes.acknowledged).isEqualTo(0L)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0)