Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getLocalPort (0.14 sec)

  1. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

        private val remotePort: Int = 1234,
      ) : Socket() {
        override fun getInetAddress() = remoteAddress
    
        override fun getLocalAddress() = localAddress
    
        override fun getLocalPort() = localPort
    
        override fun getPort() = remotePort
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      override fun getKeepAlive(): Boolean {
        return delegate!!.keepAlive
      }
    
      override fun getLocalAddress(): InetAddress {
        return delegate!!.localAddress
      }
    
      override fun getLocalPort(): Int {
        return delegate!!.localPort
      }
    
      @Throws(IOException::class)
      override fun getOutputStream(): OutputStream {
        return delegate!!.outputStream
      }
    
      override fun getPort(): Int {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top