- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for Must (0.14 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt
val isMasked = b1 and B1_FLAG_MASK != 0 if (isMasked == isClient) { // Masked payloads must be read on the server. Unmasked payloads must be read on the client. throw ProtocolException( if (isClient) { "Server-sent frames must not be masked." } else { "Client-sent frames must be masked." }, ) }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* and a fixed number of values. Each key must match the regex `[a-z0-9_-]{1,64}`. Values are byte * sequences, accessible as streams or files. Each value must be between `0` and `Int.MAX_VALUE` * bytes in length. * * The cache stores its data in a directory on the filesystem. This directory must be exclusive to
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
* to HTTP/1.1. */ var protocolNegotiationEnabled: Boolean = true /** * The protocols supported by ALPN on incoming HTTPS connections in order of preference. The list * must contain [Protocol.HTTP_1_1]. It must not contain null. * * This list is ignored when [negotiation is disabled][protocolNegotiationEnabled]. */ var protocols: List<Protocol> = immutableListOf(Protocol.HTTP_2, Protocol.HTTP_1_1)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 37.4K bytes - Viewed (0) -
okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt
import okhttp3.ExperimentalOkHttpApi /** * DNS implementation based on android.net.DnsResolver, which submits a request for * A or AAAA records, and returns the addresses or exception. * * Two instances must be used to get all results for an address. * * @param network network to use, if not selects the default network. */ @RequiresApi(Build.VERSION_CODES.Q) @ExperimentalOkHttpApi class AndroidAsyncDns(
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 01 10:07:48 GMT 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
) assertFailsWith<IllegalArgumentException> { OkHttpClient.Builder() .protocols(protocols as List<Protocol>) }.also { expected -> assertThat(expected.message).isEqualTo("protocols must not contain null") } } @Test fun spdy3IsRemovedFromProtocols() { val protocols = mutableListOf( Protocol.HTTP_1_1, Protocol.SPDY_3, ) val client =
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
if (rule[0][0] == EXCEPTION_MARKER) { // Exception rules hold the effective TLD plus one. domainLabels.size - rule.size } else { // Otherwise the rule is for a public suffix, so we must take one more label. domainLabels.size - (rule.size + 1) } return splitDomain(domain).asSequence().drop(firstLabelOffset).joinToString(".") }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
// connection is closed. We only close these if the idle connection limit is exceeded. // // Also count the evictable connections to find out if we must close an EVICTABLE connection // before its keepAliveDurationNs is reached. var earliestOldIdleAtNs = (now - keepAliveDurationNs) + 1 var earliestOldConnection: RealConnection? = null
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
} if (!sink.finished) { // We have 0 or more frames of data, and 0 or more frames of trailers. We need to send at // least one frame with the END_STREAM flag set. That must be the last frame, and the // trailers must be sent after all of the data. val hasData = sendBuffer.size > 0L val hasTrailers = trailers != null when { hasTrailers -> {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 23.2K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/EventListener.kt
* multiple routes to be attempted simultaneously. * * Events and sequences of events may be repeated for retries and follow-ups. * * All event methods must execute fast, without external locking, cannot throw exceptions, attempt * to mutate the event parameters, or be re-entrant back into the client. Any IO - writing to files * or network should be done asynchronously. */
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt
"com.squareup.okhttp3.logging", "com.squareup.okhttp3.sse", "com.squareup.okhttp3.tls", "com.squareup.okhttp3.urlconnection", ) /** Equinox must also be on the testing classpath. */ private const val RESOLVE_OSGI_FRAMEWORK = "org.eclipse.osgi" private const val RESOLVE_JAVA_VERSION = "JavaSE-1.8" private const val REPO_NAME = "OsgiTest" }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.9K bytes - Viewed (0)