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
Promisefromfetch()does not fulfill until uploadedReadableStreamcloses. The single exception to that I am aware of on Chromium-based browsers between aWindowClientand aServiceWorkerusingonfetch.Node.js, Deno, and Bun
fetch()implementations are all full-duplex capable withduplexset 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