- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 86 for Http2 (1.52 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
import java.net.ProtocolException import okhttp3.Headers import okhttp3.Interceptor import okhttp3.Response import okhttp3.TrailersSource import okhttp3.internal.UnreadableResponseBody import okhttp3.internal.http2.ConnectionShutdownException import okhttp3.internal.skipAll import okio.buffer /** This is the last interceptor in the chain. It makes a network call to the server. */ object CallServerInterceptor : Interceptor {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
import okhttp3.Handshake import okhttp3.Headers import okhttp3.Headers.Companion.headersOf import okhttp3.HttpUrl import okhttp3.Protocol import okhttp3.TlsVersion import okhttp3.WebSocketListener import okhttp3.internal.http2.Settings import okio.Buffer import org.junit.Ignore import org.junit.Test /** * Access every type, function, and property from Kotlin to defend against unexpected regressions in
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
import java.io.File import java.net.InetAddress import java.net.InetSocketAddress import java.net.UnknownHostException import java.util.Arrays import java.util.concurrent.ThreadFactory import okhttp3.internal.http2.Header import okio.Buffer import okio.FileSystem import org.junit.jupiter.api.Assumptions.assumeFalse import org.junit.jupiter.api.Assumptions.assumeTrue object TestUtil { @JvmFieldCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
import okhttp3.internal.closeQuietly import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.http.HttpMethod import okhttp3.internal.http2.ErrorCode import okhttp3.internal.http2.Header import okhttp3.internal.http2.Http2Connection import okhttp3.internal.http2.Http2Stream import okhttp3.internal.immutableListOf import okhttp3.internal.platform.Platform import okhttp3.internal.threadFactory
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 40.3K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
import okhttp3.Headers import okhttp3.Headers.Companion.headersOf import okhttp3.WebSocketListener import okhttp3.internal.addHeaderLenient import okhttp3.internal.http2.ErrorCode import okhttp3.internal.http2.Settings import okio.Buffer /** A scripted response to be replayed by the mock web server. */ public class MockResponse { /** Returns the HTTP response line, such as "HTTP/1.1 200 OK". */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 17.8K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
*/ package okhttp3.mockwebserver import java.util.concurrent.TimeUnit import okhttp3.Headers import okhttp3.WebSocketListener import okhttp3.internal.addHeaderLenient import okhttp3.internal.http2.Settings import okio.Buffer class MockResponse : Cloneable { @set:JvmName("status") var status: String = "" private var headersBuilder = Headers.Builder() private var trailersBuilder = Headers.Builder()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 7.1K bytes - Click Count (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
* quickly, possibly by handing off the provided request body to another thread to perform * writing. * * [grpc]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md */ open fun isDuplex(): Boolean = false /** * Returns true if this body expects at most one call to [writeTo] and can be transmitted
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 9.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.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 import okhttp3.internal.and import okio.BufferedSink import okio.BufferedSource import okio.ByteString /** * This class was originally composed from the following classes in
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
import okhttp3.TestUtil.awaitGarbageCollection import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.concurrent.TaskRunner.RealBackend import okhttp3.internal.concurrent.withLock import okhttp3.internal.http2.MockHttp2Peer import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test class ConnectionPoolTest { private val routePlanner = FakeRoutePlanner() private val factory = routePlanner.factoryCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 8.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.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.EOFException import java.io.IOException import java.io.InterruptedIOException import java.net.SocketTimeoutException import java.util.ArrayDeque import okhttp3.Headers
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 22.4K bytes - Click Count (0)