Re: [whatwg/fetch] Introduce RequestInit.duplex (PR #1457)

@yutakahirano commented on this pull request.



> @@ -6880,7 +6882,15 @@ object), initially null.
 
    <dt>{{RequestInit/window}}
    <dd>Can only be null. Used to disassociate <var>request</var> from any {{Window}}.
-  </dl>
+
+   <dt>{{RequestInit/duplex}}
+   <dd>"half" for initiating a half-duplex (i.e., the user agent send all the request content
+   before starting receiving the response) fetch, and "full" for initiating a full-duplex (i.e.,
+   the user agent starts receiving the response before sending all the request content) fetch.
+   This needs to be set when {{RequestInit/body}} is a {{ReadableStream}}. <span class=note>The
+   semantics for "full" have not been specified yet. See
+   <a href="https://github.com/whatwg/fetch/issues/1254">issue #1254</a>.</span>

Done.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1457#discussion_r908405611
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1457/review/1021628017@github.com>

Received on Tuesday, 28 June 2022 12:15:04 UTC