- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 86 for HTTP2 (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/FlowControlListener.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 import okhttp3.internal.http2.flowcontrol.WindowCounter interface FlowControlListener { /** * Notification that the receiving stream flow control window has changed.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/contribute/debug_logging.md
``` OkHttpDebugLogging.enableHttp2() OkHttpDebugLogging.enableTaskRunner() ``` ### Activating on Android ``` $ adb shell setprop log.tag.okhttp.Http2 DEBUG $ adb shell setprop log.tag.okhttp.TaskRunner DEBUG $ adb logcat '*:E' 'okhttp.Http2:D' 'okhttp.TaskRunner:D' ``` ### HTTP/2 Frame Logging This logs inbound (`<<`) and outbound (`>>`) frames for HTTP/2 connections. ```
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 2.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
serverTruncatesRequestButTrailersCanStillBeRead(http2 = false) } @Test fun serverTruncatesRequestButTrailersCanStillBeReadHttp2() { enableProtocol(Protocol.HTTP_2) serverTruncatesRequestButTrailersCanStillBeRead(http2 = true) } private fun serverTruncatesRequestButTrailersCanStillBeRead(http2: Boolean) { val mockResponse = MockResponse .Builder()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ErrorCode.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-7 */ enum class ErrorCode constructor( val httpCode: Int, ) { /** Not an error! */ NO_ERROR(0), PROTOCOL_ERROR(1), INTERNAL_ERROR(2),
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.2K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
assertThat(recorded.headers["Accept-Encoding"]).isNull() // No built-in gzip. 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!
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
CommandLine -> { return ProcessBuilder( "tshark", "-l", "-V", "-o", "tls.keylog_file:$logFile", "-Y", "http2", "-O", "http2,tls", ).redirectInput(File("/dev/null")) .redirectOutput(Redirect.INHERIT) .redirectError(Redirect.INHERIT) .start() } Gui -> {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 10.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt
package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import okhttp3.Headers.Companion.headersOf import okhttp3.TestUtil.headerEntries import okhttp3.internal.http2.Http2ExchangeCodec.Companion.http2HeadersList import okhttp3.internal.http2.Http2ExchangeCodec.Companion.readHttp2HeadersList import org.junit.jupiter.api.Test class HeadersRequestTest { @Test fun readNameValueBlockDropsForbiddenHeadersHttp2() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
import okhttp3.internal.buildConnectionPool import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.concurrent.withLock import okhttp3.internal.connection.RealConnectionPool import okhttp3.internal.http2.Http2 import okhttp3.internal.taskRunnerInternal import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule.Companion.LOOM_PROPERTY import okhttp3.testing.PlatformRule.Companion.getPlatformSystemProperty
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/StreamResetException.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 import java.io.IOException /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */ class StreamResetException( @JvmField val errorCode: ErrorCode,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 869 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ConnectionShutdownException.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 import java.io.IOException /** * Thrown when an HTTP/2 connection is shutdown (either explicitly or if the peer has sent a GOAWAY * frame) and an attempt is made to use the connection. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 875 bytes - Viewed (0)