uvicorn
uvicorn copied to clipboard
Websocket sansio implementataion
This PR provides the implementation of websocket protocol using websockets sansI/O layer.
task details - https://github.com/encode/uvicorn/issues/1908
Checklist for @Kludex
- [ ]
data_receive
shouldn't be usingException
. What is the right exception there? - [X] Check if
max_size
is being tested, and if not, test it. EDIT: I've checked it - it's not being tested. - [ ] Add
WebSocketsSansIOProtocol
test formax_size
. - [x] Should we remove
CONT
andPONG
related code? - [ ] Add documentation.
- [x] Increase the coverage number.
- [x] Add
--ws websockets-sansio
. - [ ] Check if https://github.com/encode/uvicorn/pull/2060#discussion_r1277501171 is true.
- [ ] Answer the following questions:
- [ ] Should we deprecate
websockets
legacy version? - [ ] Should we add a
UserWarning
saying that it's experimental, and asking users to comment in a discussion X?
- [ ] Should we deprecate