Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for writeData (0.04 sec)

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

            writeBytesTotal += toWrite
            outFinished = outFinishedOnLastFrame && toWrite == sendBuffer.size
          }
    
          writeTimeout.enter()
          try {
            connection.writeData(id, outFinished, sendBuffer, toWrite)
          } finally {
            writeTimeout.exitAndThrowIfTimedOut()
          }
        }
    
        @Throws(IOException::class)
        override fun flush() {
          assertLockNotHeld()
    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

       *
       * Zero [byteCount] writes are not subject to flow control and will not block. The only use case
       * for zero [byteCount] is closing a flushed output stream.
       */
      @Throws(IOException::class)
      fun writeData(
        streamId: Int,
        outFinished: Boolean,
        buffer: Buffer?,
        byteCount: Long,
      ) {
        // Empty data frames are not flow-controlled.
        if (byteCount == 0L) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top