Add WebSocket :protocol extension per RFC 9220.#236
Add WebSocket :protocol extension per RFC 9220.#236Ruben2424 merged 2 commits intohyperium:masterfrom
Conversation
|
Hi. you can add some unit test. |
|
What should the unit test test? |
|
Other implementation of RFC9220: |
It is appropriate to add a heavy dev-dependency for a such a trivial change? |
|
Based on what I see on other implementations of websocket, h3 should only provide the minimum at http level to be able to establish websockets connection, which is, in short, the ability to set CONNECT pseudo-headers, and maybe send the settings frames, besides that, looks like the remaining parts can still take advantage of existing frame parsing libraries. |
# Conflicts: # h3/src/ext.rs
|
Refreshed the pull request after a conflict from #273, which has a very similar idea. |
Attempt to add WebSocket support to h3.
I don't know any server that supports RFC 9220, so it is untested.