- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for max_concurrent_streams (0.15 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt
import assertk.assertions.isTrue import org.junit.jupiter.api.Test class SettingsTest { @Test fun unsetField() { val settings = Settings() assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse() assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE) } @Test fun setFields() { val settings = Settings() settings[Settings.HEADER_TABLE_SIZE] = 8096
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt
val bit = 1 shl ENABLE_PUSH return if (bit and set != 0) values[ENABLE_PUSH] == 1 else defaultValue } fun getMaxConcurrentStreams(): Int { val bit = 1 shl MAX_CONCURRENT_STREAMS return if (bit and set != 0) values[MAX_CONCURRENT_STREAMS] else Int.MAX_VALUE } fun getMaxFrameSize(defaultValue: Int): Int { val bit = 1 shl MAX_FRAME_SIZE return if (bit and set != 0) values[MAX_FRAME_SIZE] else defaultValue
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0) -
api/next/67813.txt
pkg net/http, type HTTP2Config struct #67813 pkg net/http, type HTTP2Config struct, CountError func(string) #67813 pkg net/http, type HTTP2Config struct, MaxConcurrentStreams int #67813 pkg net/http, type HTTP2Config struct, MaxDecoderHeaderTableSize int #67813 pkg net/http, type HTTP2Config struct, MaxEncoderHeaderTableSize int #67813 pkg net/http, type HTTP2Config struct, MaxReadFrameSize int #67813
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Aug 29 17:38:46 UTC 2024 - 989 bytes - Viewed (0)