Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for receiveData (0.06 sec)

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

          if (source.finished && sink.finished) {
            return false
          }
        }
        connection.removeStream(id)
        return true
      }
    
      @Throws(IOException::class)
      fun receiveData(
        source: BufferedSource,
        length: Int,
      ) {
        lock.assertNotHeld()
    
        this.source.receive(source, length.toLong())
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. okhttp/src/main/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(EMPTY_HEADERS, true)
          }
        }
    
        override fun headers(
          inFinished: Boolean,
          streamId: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top