- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 64 for true (0.14 sec)
-
okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt
val client = OkHttpClient.Builder() .connectionPool(poolApi) .build() val call = client.newCall(Request(addressA.url)) as RealCall call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call)) c1.withLock { call.acquireConnectionNoEvents(c1) } // Running at time 50, the pool returns that nothing can be evicted until time 150. assertThat(pool.closeConnections(50L)).isEqualTo(100L)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 24 04:40:49 GMT 2024 - 12.7K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/UserAgentCapabilities.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.survey.ssllabs import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) class UserAgentCapabilities( val abortsOnUnrecognizedName: Boolean, val alpnProtocols: List<String>, val ellipticCurves: List<Int>, val handshakeFormat: String, val hexHandshakeBytes: String,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 1.5K bytes - Viewed (1) -
build.gradle.kts
subprojects { tasks.withType<DokkaTaskPartial>().configureEach { dokkaSourceSets.configureEach { reportUndocumented.set(false) skipDeprecated.set(true) jdkVersion.set(8) perPackageOption { matchingRegex.set(".*\\.internal.*") suppress.set(true) } if (project.file("Module.md").exists()) { includes.from(project.file("Module.md")) } externalDocumentationLink {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:32:42 GMT 2024 - 8.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
socketConnectTimeoutMillis = 10_000, socketReadTimeoutMillis = 10_000, pingIntervalMillis = 10_000, retryOnConnectionFailure = false, fastFallback = true, address = address, routeDatabase = RouteDatabase(), connectionUser = user, ), taskRunner, ) }, ) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt
// State for negotiating failed routes private val postponedRoutes = mutableListOf<Route>() init { resetNextProxy(address.url, address.proxy) } /** * Returns true if there's another set of routes to attempt. Every address has at least one route. */ operator fun hasNext(): Boolean = hasNextProxy() || postponedRoutes.isNotEmpty() @Throws(IOException::class)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
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/Cookie.kt
attributeName.equals("path", ignoreCase = true) -> { path = attributeValue } attributeName.equals("secure", ignoreCase = true) -> { secureOnly = true } attributeName.equals("httponly", ignoreCase = true) -> { httpOnly = true } attributeName.equals("samesite", ignoreCase = true) -> { sameSite = attributeValue
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
server.useHttps(handshakeCertificates.sslSocketFactory()) val queueDispatcher = QueueDispatcher() queueDispatcher.enqueueResponse(MockResponse(inTunnel = true)) queueDispatcher.enqueueResponse(MockResponse(inTunnel = true)) queueDispatcher.enqueueResponse(MockResponse(body = "call2 response")) queueDispatcher.enqueueResponse(MockResponse(body = "call1 response"))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
if (!"Upgrade".equals(headerConnection, ignoreCase = true)) { throw ProtocolException( "Expected 'Connection' header value 'Upgrade' but was '$headerConnection'", ) } val headerUpgrade = response.header("Upgrade") if (!"websocket".equals(headerUpgrade, ignoreCase = true)) { throw ProtocolException(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 22.1K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 37.6K bytes - Viewed (0)