Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

            }
            else -> {
              events += "plan $id TLS connected"
              connectState = ConnectState.TLS_CONNECTED
              ConnectResult(this)
            }
          }
        }
    
        override fun handleSuccess() = connection
    
        override fun cancel() {
          events += "plan $id cancel"
          canceled = true
        }
    
        override fun retry(): FakePlan? {
          check(!retryTaken)
          retryTaken = true
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          }
        }
        return null
      }
    
      /** Returns the connection to use, which might be different from [connection]. */
      override fun handleSuccess(): RealConnection {
        call.client.routeDatabase.connected(route)
    
        val connection = this.connection!!
        connection.connectionListener.connectEnd(connection, route, call)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 19.3K bytes
    - Viewed (2)
Back to top