Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pushStream (0.35 sec)

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

       * @param out true to create an output stream that we can use to send data to the remote peer.
       *     Corresponds to `FLAG_FIN`.
       */
      @Throws(IOException::class)
      fun pushStream(
        associatedStreamId: Int,
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        check(!client) { "Client cannot push requests." }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. 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)
          }
        }
      }
    
      private companion object {
        private const val CLIENT_AUTH_NONE = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
Back to top