- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 97 for createSocket (0.08 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
val tlsSpec = ConnectionSpec .Builder(true) .tlsVersions(TlsVersion.TLS_1_2) .supportsTlsExtensions(false) .build() val socket = SSLSocketFactory.getDefault().createSocket() as SSLSocket socket.enabledCipherSuites = arrayOf( CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName, CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName, )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 14.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
object : DelegatingSocketFactory(SocketFactory.getDefault()) { var first = true override fun createSocket(): Socket { if (first) { first = false firstConnectLatch.await() } return super.createSocket() } } client = client .newBuilder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
} call.eventListener.secureConnectStart(call) // Create the wrapper over the connected socket. val sslSocket = route.address.sslSocketFactory.createSocket( rawSocket, route.address.url.host, route.address.url.port, // autoClose: true, ) as SSLSocketCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 19.3K bytes - Click Count (2) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
socket = MockWebServerSocket(raw), ) processHandshakeFailure(raw) return } val sslSocket = sslSocketFactory!!.createSocket( raw, raw.inetAddress.hostAddress, raw.port, true, ) as SSLSocket sslSocket.useClientMode = false
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 40.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val size: Int = formBody.size() } @Test @Disabled fun handshake() { val handshake: Handshake = Handshake.get((localhost().sslSocketFactory().createSocket() as SSLSocket).session) val tlsVersion: TlsVersion = handshake.tlsVersion() val cipherSuite: CipherSuite = handshake.cipherSuite() val peerCertificates: List<Certificate> = handshake.peerCertificates()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 13.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val supportsTlsExtensions: Boolean = connectionSpec.supportsTlsExtensions val compatible: Boolean = connectionSpec.isCompatible( localhost().sslSocketFactory().createSocket() as SSLSocket, ) } @Test fun connectionSpecBuilder() { var builder = ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS) builder = builder.allEnabledCipherSuites()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 47K bytes - Click Count (0) -
helm-releases/minio-3.6.2.tgz
active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 # Purge the bucket, if set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET ; then...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Mar 17 18:30:55 GMT 2022 - 17.9K bytes - Click Count (0) -
helm-releases/minio-3.6.4.tgz
active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 # Purge the bucket, if set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET ; then...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Apr 12 01:30:28 GMT 2022 - 17.9K bytes - Click Count (0) -
helm-releases/minio-2.0.1.tgz
active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 # Purge the bucket, if set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET ; then...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 31 09:09:09 GMT 2021 - 13.6K bytes - Click Count (0) -
helm-releases/minio-3.4.3.tgz
active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 # Purge the bucket, if set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET ; then...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Dec 21 20:55:50 GMT 2021 - 17.7K bytes - Click Count (0)