- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 150 for Messages (1.98 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
// https://android-review.googlesource.com/#/c/271775/ try { source = rawSocket.source().buffer() sink = rawSocket.sink().buffer() } catch (npe: NullPointerException) { if (npe.message == NPE_THROW_WITH_NULL) { throw IOException(npe) } } } /** * Does all the work to build an HTTPS connection over a proxy tunnel. The catch here is that a
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 18.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
if (headersContentLength() != -1L || "chunked".equals(header("Transfer-Encoding"), ignoreCase = true) ) { return true } return false } @Deprecated( message = "No longer supported", level = DeprecationLevel.ERROR, replaceWith = ReplaceWith(expression = "response.promisesBody()"), ) fun hasBody(response: Response): Boolean { return response.promisesBody()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
source1.close() // Not exhausted! assertThat(relay1.isClosed).isTrue() assertFailsWith<IOException> { read(file) }.also { expected -> assertThat(expected.message).isEqualTo("unreadable cache file") } assertFile(Relay.PREFIX_DIRTY, -1L, -1, null, null) } @Test fun redundantCallsToCloseAreIgnored() { val upstream = Buffer()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 8.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
) { @JvmName("-deprecated_certificate") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "certificate"), level = DeprecationLevel.ERROR, ) fun certificate(): X509Certificate = certificate @JvmName("-deprecated_keyPair") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "keyPair"),
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.6K bytes - Viewed (1) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
val code: Int get() { val statusParts = status.split(' ', limit = 3) require(statusParts.size >= 2) { "Unexpected status: $status" } return statusParts[1].toInt() } val message: String get() { val statusParts = status.split(' ', limit = 3) require(statusParts.size >= 2) { "Unexpected status: $status" } return statusParts[2] } val headers: Headers
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 13.3K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/CipherSuite.kt
* `"SSL_RSA_EXPORT_WITH_RC4_40_MD5"`. */ @get:JvmName("javaName") val javaName: String, ) { @JvmName("-deprecated_javaName") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "javaName"), level = DeprecationLevel.ERROR, ) fun javaName(): String = javaName override fun toString(): String = javaName
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 39.9K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt
}.also { expected -> assertThat(expected.message) .isEqualTo("Control frames must be final.") } } @Test fun reservedFlag1IsUnsupportedWithNoCompression() { data.write("ca00".decodeHex()) // Empty pong, flag 1 set. assertFailsWith<ProtocolException> { clientReader.processNextFrame() }.also { expected -> assertThat(expected.message).isEqualTo("Unexpected rsv1 flag") } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 14.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
fun messagesNotCompressedWhenNotConfigured() { val message = repeat('a', RealWebSocket.DEFAULT_MINIMUM_DEFLATE_SIZE.toInt()) server.webSocket!!.send(message) taskFaker.runTasks() assertThat(client.clientSourceBufferSize()) .isGreaterThan(message.length.toLong()) // Not compressed. assertThat(client.processNextFrame()).isTrue() client.listener.assertTextMessage(message) } @Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 01:59:58 GMT 2024 - 18.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
internal var headerValue: String?, ) { @JvmName("-deprecated_noCache") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "noCache"), level = DeprecationLevel.ERROR, ) fun noCache(): Boolean = noCache @JvmName("-deprecated_noStore") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "noStore"), level = DeprecationLevel.ERROR, )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 10K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Handshake.kt
listOf() } } @JvmName("-deprecated_tlsVersion") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "tlsVersion"), level = DeprecationLevel.ERROR, ) fun tlsVersion(): TlsVersion = tlsVersion @JvmName("-deprecated_cipherSuite") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "cipherSuite"),
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Viewed (0)