- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 657 for fun (0.02 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt
} /** Window update frames have special formatting. */ @Test fun windowUpdateFrames() { assertThat(frameLogWindowUpdate(false, 0, 4, Int.MAX_VALUE.toLong())) .isEqualTo(">> 0x00000000 4 WINDOW_UPDATE 2147483647") assertThat(frameLogWindowUpdate(true, 101, 4, 1)) .isEqualTo("<< 0x00000065 4 WINDOW_UPDATE 1") } @Test fun flagOverlapOn0x1() { assertThat(frameLog(true, 0, 0, TYPE_SETTINGS, 0x1))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
} override fun setUseClientMode(mode: Boolean) { delegate!!.useClientMode = mode } override fun getUseClientMode(): Boolean { return delegate!!.useClientMode } override fun setNeedClientAuth(need: Boolean) { delegate!!.needClientAuth = need } override fun setWantClientAuth(want: Boolean) { delegate!!.wantClientAuth = want } override fun getNeedClientAuth(): Boolean {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
level = DeprecationLevel.ERROR, ) fun keyManager(): X509KeyManager = keyManager @JvmName("-deprecated_trustManager") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "trustManager"), level = DeprecationLevel.ERROR, ) fun trustManager(): X509TrustManager = trustManager fun sslSocketFactory(): SSLSocketFactory = sslContext().socketFactory
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.5K bytes - Viewed (0) -
okhttp-logging-interceptor/api/logging-interceptor.api
public fun cacheConditionalHit (Lokhttp3/Call;Lokhttp3/Response;)V public fun cacheHit (Lokhttp3/Call;Lokhttp3/Response;)V public fun cacheMiss (Lokhttp3/Call;)V public fun callEnd (Lokhttp3/Call;)V public fun callFailed (Lokhttp3/Call;Ljava/io/IOException;)V public fun callStart (Lokhttp3/Call;)V public fun canceled (Lokhttp3/Call;)V
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 4.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ChallengeCommon.kt
package okhttp3.internal import okhttp3.Challenge fun Challenge.commonEquals(other: Any?): Boolean { return other is Challenge && other.scheme == scheme && other.authParams == authParams } fun Challenge.commonHashCode(): Int { var result = 29 result = 31 * result + scheme.hashCode() result = 31 * result + authParams.hashCode() return result }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InsecureForHostTest.kt
val clientTestRule = OkHttpClientTestRule() private lateinit var server: MockWebServer @BeforeEach fun setup(server: MockWebServer) { this.server = server // BCX509ExtendedTrustManager not supported in TlsUtil.newTrustManager platform.assumeNotBouncyCastle() } @Test fun `untrusted host in insecureHosts connects successfully`() { val serverCertificates = platform.localhostHandshakeCertificates()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
) private val loggingEventListenerFactory = LoggingEventListener.Factory(logRecorder) private lateinit var client: OkHttpClient private lateinit var url: HttpUrl @BeforeEach fun setUp(server: MockWebServer) { this.server = server client = clientTestRule.newClientBuilder() .eventListenerFactory(loggingEventListenerFactory) .sslSocketFactory(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
private var routeSelector: RouteSelector? = null private var nextRouteToTry: Route? = null override val deferredPlans = ArrayDeque<Plan>() override fun isCanceled(): Boolean = connectionUser.isCanceled() @Throws(IOException::class) override fun plan(): Plan { val reuseCallConnection = planReuseCallConnection() if (reuseCallConnection != null) return reuseCallConnection
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 12K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
} } } fun isConscrypt() = getPlatformSystemProperty() == CONSCRYPT_PROPERTY fun isJdk9() = getPlatformSystemProperty() == JDK9_PROPERTY fun isJdk8() = getPlatformSystemProperty() == JDK8_PROPERTY fun isJdk8Alpn() = getPlatformSystemProperty() == JDK8_ALPN_PROPERTY fun isBouncyCastle() = getPlatformSystemProperty() == BOUNCYCASTLE_PROPERTY
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/CorrettoTest.kt
@JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule() private val client = clientTestRule.newClient() @BeforeEach fun setUp() { platform.assumeCorretto() } @Test @Disabled fun testMozilla() { assumeNetwork() val request = Request.Builder().url("https://mozilla.org/robots.txt").build() client.newCall(request).execute().use {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0)