@@ -6793,6 +6793,7 @@ interface Request {
6793
6793
readonly attribute boolean isReloadNavigation;
6794
6794
readonly attribute boolean isHistoryNavigation;
6795
6795
readonly attribute AbortSignal signal;
6796
+ readonly attribute RequestDuplex duplex;
6796
6797
6797
6798
[NewObject] Request clone();
6798
6799
};
@@ -6983,6 +6984,14 @@ object), initially null.
6983
6984
{{AbortSignal}} object indicating whether or not <var> request</var> has been aborted, and its abort
6984
6985
event handler.
6985
6986
6987
+ <dt><code><var> request</var> . <a attribute for=Request>duplex</a> </code>
6988
+ <dd> Returns "<code> half</code> ", meaning the fetch will be half-duplex (i.e., the user agent sends
6989
+ the entire request before processing the response). In future, it could also return
6990
+ "<code> full</code> ", meaning the fetch will be full-duplex (i.e., the user agent can process the
6991
+ response before sending the entire request) to indicate that the fetch will be full-duplex.
6992
+ <span class=note> See <a href="https://github.com/whatwg/fetch/issues/1254">issue #1254</a> for
6993
+ defining "<code> full</code> ".</span>
6994
+
6986
6995
<dt><code><var> request</var> . <a method for=Request>clone</a> ()</code>
6987
6996
<dd><p> Returns a clone of <var> request</var> .
6988
6997
</dl>
@@ -7433,6 +7442,9 @@ set; otherwise false.
7433
7442
<p> The <dfn attribute for=Request><code>signal</code></dfn> getter steps are to return <a>this</a> 's
7434
7443
<a for="Request">signal</a> .
7435
7444
7445
+ <p> The <dfn attribute for=Request><code>duplex</code></dfn> getter steps are to return
7446
+ "<code> half</code> ".
7447
+
7436
7448
<hr>
7437
7449
7438
7450
<p> The <dfn method for=Request><code>clone()</code></dfn> method steps are:
0 commit comments