Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacing assignation by typing for websocket_handshake #2273

Merged
merged 5 commits into from Oct 27, 2021

Conversation

cnicodeme
Copy link
Contributor

Related to #2272

@cnicodeme cnicodeme requested a review from a team as a code owner October 15, 2021 08:15
ahopkins
ahopkins previously approved these changes Oct 15, 2021
ashleysommer
ashleysommer previously approved these changes Oct 15, 2021
Copy link
Member

@ashleysommer ashleysommer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I think this explains one or more weird type errors I was seeing sometimes when debugging the new websockets code

prryplatypus
prryplatypus previously approved these changes Oct 15, 2021
@ahopkins ahopkins dismissed stale reviews from prryplatypus, ashleysommer, and themself via 11cfdca October 17, 2021 08:43
ahopkins
ahopkins previously approved these changes Oct 17, 2021
@ahopkins ahopkins self-requested a review October 24, 2021 19:31
Tronic
Tronic previously approved these changes Oct 26, 2021
sanic/server/protocols/websocket_protocol.py Outdated Show resolved Hide resolved
@ahopkins ahopkins requested a review from Tronic October 26, 2021 21:08
Copy link
Member

@ashleysommer ashleysommer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@ahopkins ahopkins merged commit 71cc30e into sanic-org:main Oct 27, 2021
ChihweiLHBird pushed a commit to ChihweiLHBird/sanic that referenced this pull request Jun 1, 2022
…2273)

* Replacing assignation by typing for `websocket_handshake`

Related to sanic-org#2272

* Fix some type hinting issues

* Cleanup websocket handchake response concat

* Optimize concat encoding

Co-authored-by: Adam Hopkins <adam@amhopkins.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants