- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 71 for enabled (0.17 sec)
-
okhttp/src/test/java/okhttp3/internal/connection/RetryConnectionTest.kt
val attempt2 = attempt1.nextConnectionSpec(connectionSpecs, socket) assertThat(attempt2).isNull() socket.close() // sslV3 is not used because SSLv3 is not enabled on the socket. } private fun createSocketWithEnabledProtocols(vararg tlsVersions: TlsVersion): SSLSocket { return (handshakeCertificates.sslSocketFactory().createSocket() as SSLSocket).apply {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
if (isAndroid) { findAndroidPlatform() } else { findJvmPlatform() } private fun findAndroidPlatform(): Platform { AndroidLog.enable() return Android10Platform.buildIfSupported() ?: AndroidPlatform.buildIfSupported()!! } private fun findJvmPlatform(): Platform { if (isConscryptPreferred) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (1) -
test_docs.sh
# Install the packages with the following command: # pip install mkdocs mkdocs-material mkdocs-redirects set -ex # Test generating the javadoc jars ./gradlew publishToMavenLocal -DRELEASE_SIGNING_ENABLED=false # Generate the API docs ./gradlew dokkaHtmlMultiModule mv ./build/dokka/htmlMultiModule docs/4.x # Copy in special files that GitHub wants in the project root.
Shell Script - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:52:16 GMT 2024 - 718 bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt
return sslLabsApi.clients().map { userAgent -> Client( userAgent = userAgent.name, version = userAgent.version, platform = userAgent.platform, enabled = userAgent.suiteNames.map { SuiteId(null, it) }, ) } } } suspend fun main() { val sslLabsClient = SslLabsClient( callFactory = OkHttpClient(), )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt
import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ValueSource @Flaky // STDOUT logging enabled for test @Timeout(30) @Tag("Slow") open class ConnectionListenerTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 9.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
// an OkHttp request. In order to be selected a cipher suite must be included in both OkHttp's // connection spec and in the SSLSocket's enabled cipher suites array. Most applications should // not customize the cipher suites list. List<CipherSuite> customCipherSuites = asList( CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Mar 14 21:57:42 GMT 2019 - 6.5K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
* Uses the test list in native-image-tests/src/main/resources/testlist.txt. */ fun main(vararg args: String) { System.setProperty("junit.jupiter.extensions.autodetection.enabled", "true") val inputFile = if (args.isNotEmpty()) File(args[0]) else null val selectors = testSelectors(inputFile) val summaryListener = SummaryGeneratingListener() val treeListener = treeListener()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
build.gradle.kts
testLogging { exceptionFormat = TestExceptionFormat.FULL } systemProperty("okhttp.platform", platform) systemProperty("junit.jupiter.extensions.autodetection.enabled", "true") } // https://publicobject.com/2023/04/16/read-a-project-file-in-a-kotlin-multiplatform-test/ tasks.withType<Test>().configureEach { environment("OKHTTP_ROOT", rootDir) }
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) -
docs/changelogs/changelog_3x.md
mutual TLS where these roles are reversed. These classes make it possible to enable HTTPS in MockWebServer in [just a few lines of code][https_server_sample]. * **OkHttp now supports prior knowledge cleartext HTTP/2.** Enable this by setting `Protocol.H2_PRIOR_KNOWLEDGE` as the lone protocol on an `OkHttpClient.Builder`. This mode
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.3K bytes - Viewed (0)