Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isOutputShutdown (0.05 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        timeout: Int,
      ) {
        delegate!!.connect(remoteAddr, timeout)
      }
    
      override fun isInputShutdown(): Boolean = delegate!!.isInputShutdown
    
      override fun isOutputShutdown(): Boolean = delegate!!.isOutputShutdown
    
      @Throws(SocketException::class)
      override fun setReuseAddress(reuse: Boolean) {
        delegate!!.reuseAddress = reuse
      }
    
      @Throws(SocketException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        assertLockNotHeld()
    
        val nowNs = System.nanoTime()
    
        if (rawSocket.isClosed ||
          javaNetSocket.isClosed ||
          javaNetSocket.isInputShutdown ||
          javaNetSocket.isOutputShutdown
        ) {
          return false
        }
    
        val http2Connection = this.http2Connection
        if (http2Connection != null) {
          return http2Connection.isHealthy(nowNs)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top