Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K 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)
          }
        }
      }
    
      @ExperimentalOkHttpApi
      companion object {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top