Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pushObserver (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          this.sink = sink
        }
    
        fun listener(listener: Listener) =
          apply {
            this.listener = listener
          }
    
        fun pushObserver(pushObserver: PushObserver) =
          apply {
            this.pushObserver = pushObserver
          }
    
        fun pingIntervalMillis(pingIntervalMillis: Int) =
          apply {
            this.pingIntervalMillis = pingIntervalMillis
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        peer.acceptFrame() // PING
        peer.play()
    
        // Play it back.
        val connection =
          Http2Connection.Builder(true, TaskRunner.INSTANCE)
            .socket(peer.openSocket())
            .pushObserver(Http2ConnectionTest.IGNORE)
            .listener(realConnection)
            .build()
        connection.start(sendConnectionPreface = false)
    
        // verify the peer received the ACK
        val ackFrame = peer.takeFrame()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top