- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 5,680 for http2 (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2 import okhttp3.internal.format import okio.ByteString.Companion.encodeUtf8 object Http2 { @JvmField val CONNECTION_PREFACE = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n".encodeUtf8() /** The initial max frame size, applied independently writing to, or reading from the peer. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt
import okhttp3.internal.http2.Http2.TYPE_GOAWAY import okhttp3.internal.http2.Http2.TYPE_HEADERS import okhttp3.internal.http2.Http2.TYPE_PING import okhttp3.internal.http2.Http2.TYPE_PUSH_PROMISE import okhttp3.internal.http2.Http2.TYPE_SETTINGS import okhttp3.internal.http2.Http2.formatFlags import okhttp3.internal.http2.Http2.frameLog import okhttp3.internal.http2.Http2.frameLogWindowUpdate import org.junit.jupiter.api.Test
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
import okhttp3.internal.http.HTTP_CONTINUE import okhttp3.internal.http.RealInterceptorChain import okhttp3.internal.http.RequestLine import okhttp3.internal.http.StatusLine import okhttp3.internal.http.promisesBody import okhttp3.internal.http2.Header.Companion.RESPONSE_STATUS_UTF8 import okhttp3.internal.http2.Header.Companion.TARGET_AUTHORITY import okhttp3.internal.http2.Header.Companion.TARGET_AUTHORITY_UTF8
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt
* limitations under the License. */ package okhttp3.internal.http2 import assertk.assertThat import assertk.assertions.isEqualTo import java.util.Random import okhttp3.internal.http2.Huffman.decode import okhttp3.internal.http2.Huffman.encode import okhttp3.internal.http2.Huffman.encodedLength import okio.Buffer import okio.ByteString import okio.ByteString.Companion.encodeUtf8
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.8K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
import okhttp3.internal.connection.asBufferedSocket import okhttp3.internal.http2.Header import okhttp3.internal.http2.Http2Connection import okhttp3.internal.http2.Http2Stream import okhttp3.internal.platform.Platform import okhttp3.tls.internal.TlsUtil.localhost import okio.buffer import okio.source /** A basic HTTP/2 server that serves the contents of a local directory. */ class Http2Server(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 6.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
clearPrevious: Boolean, settings: Settings, ) { check(type == -1) this.type = Http2.TYPE_SETTINGS this.clearPrevious = clearPrevious this.settings = settings } override fun ackSettings() { check(type == -1) this.type = Http2.TYPE_SETTINGS this.ack = true } override fun headers( inFinished: Boolean,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2.hpackjson import okhttp3.internal.http2.Header import okio.ByteString /** * Representation of an individual case (set of headers and wire format). There are many cases for a * single story. This class is used reflectively with Moshi to parse stories. */ data class Case(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Dec 23 10:26:25 GMT 2023 - 1.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
import kotlin.reflect.KClass import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.http2.Http2 object OkHttpDebugLogging { // Keep references to loggers to prevent their configuration from being GC'd. private val configuredLoggers = CopyOnWriteArraySet<Logger>() fun enableHttp2() = enable(Http2::class) fun enableTaskRunner() = enable(TaskRunner::class) fun logHandler() =Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt
import java.util.logging.ConsoleHandler import java.util.logging.Level import java.util.logging.LogManager import java.util.logging.LogRecord import java.util.logging.Logger import okhttp3.internal.http2.Http2 class LoggingUtil { companion object { private val activeLoggers = mutableListOf<Logger>() fun configureLogging( debug: Boolean, showHttp2Frames: Boolean, sslDebug: Boolean,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/FlowControlListener.kt
* 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. * [WindowCounter] generally carries the client view of total and acked bytes. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.5K bytes - Click Count (0)