Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for pingIntervalMillis (0.13 sec)

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

          writeTimeoutMillis = writeTimeoutMillis,
          socketConnectTimeoutMillis = socketConnectTimeoutMillis,
          socketReadTimeoutMillis = socketReadTimeoutMillis,
          pingIntervalMillis = pingIntervalMillis,
          retryOnConnectionFailure = retryOnConnectionFailure,
          user = user,
          routePlanner = routePlanner,
          route = route,
          routes = routes,
          attempt = attempt,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

                  writeTimeoutMillis = writeTimeoutMillis,
                  socketConnectTimeoutMillis = socketConnectTimeoutMillis,
                  socketReadTimeoutMillis = socketReadTimeoutMillis,
                  pingIntervalMillis = pingIntervalMillis,
                  retryOnConnectionFailure = retryOnConnectionFailure,
                  fastFallback = fastFallback,
                  address = address,
                  routeDatabase = routeDatabase,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        client.listener.assertFailure(IOException::class.java, "source is closed")
        assertThat(client.closed).isTrue()
      }
    
      @Test
      fun pingOnInterval() {
        client.initWebSocket(random, pingIntervalMillis = 500)
        taskFaker.advanceUntil(ns(500L))
        server.processNextFrame() // Ping.
        client.processNextFrame() // Pong.
        taskFaker.advanceUntil(ns(1000L))
        server.processNextFrame() // Ping.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

          writeTimeoutMillis = client.writeTimeoutMillis,
          socketConnectTimeoutMillis = chain.connectTimeoutMillis,
          socketReadTimeoutMillis = chain.readTimeoutMillis,
          pingIntervalMillis = client.pingIntervalMillis,
          retryOnConnectionFailure = client.retryOnConnectionFailure,
          fastFallback = client.fastFallback,
          address = address,
          routeDatabase = client.routeDatabase,
          connectionUser =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

          writeTimeoutMillis = writeTimeoutMillis,
          socketConnectTimeoutMillis = socketConnectTimeoutMillis,
          socketReadTimeoutMillis = socketReadTimeoutMillis,
          pingIntervalMillis = pingIntervalMillis,
          retryOnConnectionFailure = retryOnConnectionFailure,
          user = connectionUser,
          routePlanner = this,
          route = route,
          routes = routes,
          attempt = 0,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          }
    
        fun pushObserver(pushObserver: PushObserver) =
          apply {
            this.pushObserver = pushObserver
          }
    
        fun pingIntervalMillis(pingIntervalMillis: Int) =
          apply {
            this.pingIntervalMillis = pingIntervalMillis
          }
    
        fun flowControlListener(flowControlListener: FlowControlListener) =
          apply {
            this.flowControlListener = flowControlListener
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        val http2Connection =
          Http2Connection.Builder(client = true, taskRunner)
            .socket(socket, route.address.url.host, source, sink)
            .listener(this)
            .pingIntervalMillis(pingIntervalMillis)
            .flowControlListener(flowControlListener)
            .build()
        this.http2Connection = http2Connection
        this.allocationLimit = Http2Connection.DEFAULT_SETTINGS.getMaxConcurrentStreams()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      @JvmName("-deprecated_pingIntervalMillis")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "pingIntervalMillis"),
        level = DeprecationLevel.ERROR,
      )
      fun pingIntervalMillis(): Int = pingIntervalMillis
    
      class Builder() {
        internal var dispatcher: Dispatcher = Dispatcher()
        internal var connectionPool: ConnectionPool? = null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

              writeTimeoutMillis = client.writeTimeoutMillis,
              socketConnectTimeoutMillis = chain.connectTimeoutMillis,
              socketReadTimeoutMillis = chain.readTimeoutMillis,
              pingIntervalMillis = client.pingIntervalMillis,
              retryOnConnectionFailure = client.retryOnConnectionFailure,
              fastFallback = client.fastFallback,
              address = client.address(request.url),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

              minimumDeflateSize = minimumDeflateSize,
            )
          this.writerTask = WriterTask()
          if (pingIntervalMillis != 0L) {
            val pingIntervalNanos = MILLISECONDS.toNanos(pingIntervalMillis)
            taskQueue.schedule("$name ping", pingIntervalNanos) {
              writePingFrame()
              return@schedule pingIntervalNanos
            }
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top