Is it possible to make the fetch example full-duplex over HTTP/2? #4466
Unanswered
guest271314
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
See whatwg/fetch#1254.
In the browser WHATWG Fetch implementations are not full-duplex. The
Promise
fromfetch()
does not fulfill until uploadedReadableStream
closes. The single exception to that I am aware of on Chromium-based browsers between aWindowClient
and aServiceWorker
usingonfetch
.Node.js, Deno, and Bun
fetch()
implementations are all full-duplex capable withduplex
set to"half"
. For exampleIs it possible to make the fetch example full-duplex over HTTP/2?
Beta Was this translation helpful? Give feedback.
All reactions