Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ConnectPlan (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        attempt: Int = this.attempt,
        tunnelRequest: Request? = this.tunnelRequest,
        connectionSpecIndex: Int = this.connectionSpecIndex,
        isTlsFallback: Boolean = this.isTlsFallback,
      ): ConnectPlan =
        ConnectPlan(
          taskRunner = taskRunner,
          connectionPool = connectionPool,
          readTimeoutMillis = readTimeoutMillis,
          writeTimeoutMillis = writeTimeoutMillis,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

    ) : ConnectionUser {
      private val eventListener: EventListener
        get() = call.eventListener
    
      override fun addPlanToCancel(connectPlan: ConnectPlan) {
        call.plansToCancel += connectPlan
      }
    
      override fun removePlanToCancel(connectPlan: ConnectPlan) {
        call.plansToCancel -= connectPlan
      }
    
      override fun updateRouteDatabaseAfterSuccess(route: Route) {
        call.client.routeDatabase.connected(route)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt

     * without an intent to immediately use them.
     */
    object PoolConnectionUser : ConnectionUser {
      override fun addPlanToCancel(connectPlan: ConnectPlan) {
      }
    
      override fun removePlanToCancel(connectPlan: ConnectPlan) {
      }
    
      override fun updateRouteDatabaseAfterSuccess(route: Route) {
      }
    
      override fun connectStart(route: Route) {
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        }
        return null
      }
    
      /** Plans to make a new connection by deciding which route to try next. */
      @Throws(IOException::class)
      internal fun planConnect(): ConnectPlan {
        // Use a route from a preceding coalesced connection.
        val localNextRouteToTry = nextRouteToTry
        if (localNextRouteToTry != null) {
          nextRouteToTry = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top