- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for httpDone (0.09 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt
withLock { if (closed) throw IOException("closed") require(errorCode.httpCode != -1) { "errorCode.httpCode == -1" } frameHeader( streamId = 0, length = 8 + debugData.size, type = TYPE_GOAWAY, flags = FLAG_NONE, ) sink.writeInt(lastGoodStreamId) sink.writeInt(errorCode.httpCode) if (debugData.isNotEmpty()) { sink.write(debugData) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 11K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
* limitations under the License. */ package okhttp3.internal.cache import java.net.HttpURLConnection.HTTP_BAD_METHOD import java.net.HttpURLConnection.HTTP_GONE import java.net.HttpURLConnection.HTTP_MOVED_PERM import java.net.HttpURLConnection.HTTP_MOVED_TEMP import java.net.HttpURLConnection.HTTP_MULT_CHOICE import java.net.HttpURLConnection.HTTP_NOT_AUTHORITATIVE
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
build-tools-internal/build.gradle
api 'org.ow2.asm:asm:9.0' api 'org.ow2.asm:asm-tree:9.0' api "org.apache.httpcomponents:httpclient:${props.getProperty('httpclient')}" api "org.apache.httpcomponents:httpcore:${props.getProperty('httpcore')}" compileOnly "com.puppycrawl.tools:checkstyle:${props.getProperty('checkstyle')}" runtimeOnly "org.elasticsearch.gradle:reaper:$version"
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 18:10:22 GMT 2021 - 11.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
writeMedium(frame, 4) frame.writeByte(Http2.TYPE_RST_STREAM) frame.writeByte(FLAG_NONE) frame.writeInt(expectedStreamId and 0x7fffffff) frame.writeInt(ErrorCode.PROTOCOL_ERROR.httpCode) reader.nextFrame( requireSettings = false, object : BaseTestHandler() { override fun rstStream( streamId: Int, errorCode: ErrorCode, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 28.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
val ipv6 = InetAddress.getByName("2001:db8:ffff:ffff:ffff:ffff:ffff:1") val refusedStream = MockResponse .Builder() .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode)) .build() val bodyResponse = MockResponse(body = "body") @BeforeEach fun setUp() { socketFactory = SpecificHostSocketFactory(InetSocketAddress(server1.hostName, server1.port)) client =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 15:25:06 GMT 2026 - 11.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
}, ).build() // Set up a same-connection retry. serverIpv4.enqueue( MockResponse .Builder() .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode)) .build(), ) serverIpv4.enqueue( MockResponse(body = "this was the 2nd request on IPv4"), ) serverIpv6.enqueue( MockResponse(body = "unexpected call to IPv6"), )Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
*/ public fun doNotReadRequestBody(): Builder = apply { doNotReadRequestBody = true onResponseEnd = CloseStream(ErrorCode.NO_ERROR.httpCode) } /** Trigger [socketEffect] while reading the request body. */ public fun onRequestBody(socketEffect: SocketEffect?): Builder = apply { this.onRequestBody = socketEffect }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 17.8K bytes - Click Count (0)