Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isLocallyInitiated (0.23 sec)

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

      internal var errorException: IOException? = null
    
      init {
        if (headers != null) {
          check(!isLocallyInitiated) { "locally-initiated streams shouldn't have headers yet" }
          headersQueue += headers
        } else {
          check(isLocallyInitiated) { "remotely-initiated streams should have headers" }
        }
      }
    
      /**
    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

            isShutdown = true
          }
    
          // Fail all streams created after the last good stream ID.
          for (http2Stream in streamsCopy) {
            if (http2Stream.id > lastGoodStreamId && http2Stream.isLocallyInitiated) {
              http2Stream.receiveRstStream(REFUSED_STREAM)
              removeStream(http2Stream.id)
            }
          }
        }
    
        override fun windowUpdate(
          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