Are There Any Browsers Supporting Full Duplex HTTP Connections?
Asked by
crossword.grid
I'm working on a project that revolves around using full duplex HTTP connections. By the time I finish my project, I hope that all major browsers will have this feature implemented. I know that popular server-side JavaScript platforms like Deno and Node already support it, but are there any browsers out there currently enabling full duplex HTTP connections?
Answers
While WebSockets do allow full duplex, keep in mind that they consume a whole TCP socket. On the other hand, HTTP/2 supports full duplex capabilities while sharing connections, which might be a better fit for your project.
Reply to this answer
HTTP/2 is indeed fully duplex, and some argue that HTTP/1 can achieve similar results. However, if you're aiming for a streamlined approach without needing additional third-party scripts, leveraging HTTP/2 might be your best bet for dealing with streams of data seamlessly.
Reply to this answer
WebSockets are the go-to for full duplex connections in browsers. However, it's important to note that standard HTTP connections aren't full duplex. If you're looking for a workable solution right now, check out the WebSocket standard.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions