Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for receiveData (0.11 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

          notifyAll()
          if (source.finished && sink.finished) {
            return false
          }
        }
        connection.removeStream(id)
        return true
      }
    
      @Throws(IOException::class)
      fun receiveData(
        source: BufferedSource,
        length: Int,
      ) {
        assertLockNotHeld()
    
        this.source.receive(source, length.toLong())
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

            writeSynResetLater(streamId, ErrorCode.PROTOCOL_ERROR)
            updateConnectionFlowControl(length.toLong())
            source.skip(length.toLong())
            return
          }
          dataStream.receiveData(source, length)
          if (inFinished) {
            dataStream.receiveHeaders(Headers.EMPTY, true)
          }
        }
    
        override fun headers(
          inFinished: Boolean,
          streamId: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

              .build(),
          ).assertBody("abc")
          .assertSentRequestAtMillis(sentAt, receivedAt)
          .assertReceivedResponseAtMillis(sentAt, receivedAt)
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.method).isEqualTo("GET")
        assertThat(recordedRequest.headers["User-Agent"]).isEqualTo("SyncApiTest")
        assertThat(recordedRequest.body).isNull()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
Back to top