Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkNotNull (0.4 sec)

  1. okhttp/src/main/kotlin/okhttp3/Handshake.kt

          val cipherSuite =
            when (val cipherSuiteString = checkNotNull(cipherSuite) { "cipherSuite == null" }) {
              "TLS_NULL_WITH_NULL_NULL", "SSL_NULL_WITH_NULL_NULL" -> {
                throw IOException("cipherSuite == $cipherSuiteString")
              }
              else -> CipherSuite.forJavaName(cipherSuiteString)
            }
    
          val tlsVersionString = checkNotNull(protocol) { "tlsVersion == null" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top