Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for id (0.12 sec)

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

       * a part of the response to `streamId`. The `promisedStreamId` has a priority of one greater than
       * `streamId`.
       *
       * @param streamId client-initiated stream ID.  Must be an odd number.
       * @param promisedStreamId server-initiated stream ID.  Must be an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`, and `:path`.
       */
      @Throws(IOException::class)
      fun pushPromise(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          return // Already closed.
        }
        connection.writeSynReset(id, rstStatusCode)
      }
    
      /**
       * Abnormally terminate this stream. This enqueues a `RST_STREAM` frame and returns immediately.
       */
      fun closeLater(errorCode: ErrorCode) {
        if (!closeInternal(errorCode, null)) {
          return // Already closed.
        }
        connection.writeSynResetLater(id, errorCode)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

              // If we're shutdown, don't bother with this stream.
              if (isShutdown) return
    
              // If the stream ID is less than the last created ID, assume it's already closed.
              if (streamId <= lastGoodStreamId) return
    
              // If the stream ID is in the client's namespace, assume it's already closed.
              if (streamId % 2 == nextStreamId % 2) return
    
              // Create a stream.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cookie.kt

     *
     * This class doesn't support additional attributes on cookies, like
     * [Chromium's Priority=HIGH extension][chromium_extension].
     *
     * [chromium_extension]: https://code.google.com/p/chromium/issues/detail?id=232693
     */
    @Suppress("NAME_SHADOWING")
    class Cookie private constructor(
      /** Returns a non-empty string with this cookie's name. */
      @get:JvmName("name") val name: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

                socket = socket,
              ),
            )
            val hasBody = pushPromise.response.body != null
            val pushedStream = stream.connection.pushStream(stream.id, pushedHeaders, hasBody)
            writeResponse(pushedStream, request, pushPromise.response)
          }
        }
      }
    
      @ExperimentalOkHttpApi
      companion object {
        private const val CLIENT_AUTH_NONE = 0
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  6. .github/workflows/build.yml

            uses: gradle/actions/setup-gradle@v3
    
          - name: Gradle cache
            run: ./gradlew -PandroidBuild=true :okhttp-android:test
    
          - name: AVD cache
            uses: actions/cache@v4
            id: avd-cache
            with:
              path: |
                ~/.android/avd/*
                ~/.android/adb*
              key: avd-${{ matrix.api-level }}
    
          - name: Create AVD and generate snapshot for caching
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 01:51:50 GMT 2024
    - 17.2K bytes
    - Viewed (0)
Back to top