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

Allow configuring underlying aiohttp websocket #293

Closed

Conversation

bruce-y
Copy link
Contributor

@bruce-y bruce-y commented Oct 25, 2022

This PR naively attempts to address miguelgrinberg/python-socketio#486. I am currently running into the same issue and need to be able to configure the max_msg_size when calling ws_connect.

@bruce-y bruce-y force-pushed the by/websocket-options branch from 67e8b58 to 08c4428 Compare October 25, 2022 14:30
@bruce-y bruce-y marked this pull request as draft October 25, 2022 14:37
@bruce-y bruce-y force-pushed the by/websocket-options branch from 08c4428 to c53668b Compare October 25, 2022 14:38
@bruce-y bruce-y marked this pull request as ready for review October 25, 2022 15:23
@miguelgrinberg
Copy link
Owner

While this, in principle, is okay, I do not like the idea of introducing features that are partially implemented. In this case, you have implemented the async client, but there's nothing to support the sync client and the sync and async servers.

@bruce-y
Copy link
Contributor Author

bruce-y commented Oct 26, 2022

I've just added implementation for the sync client as well. I'm not sure what you're envisioning for exposing similar options for the server/async server.

@miguelgrinberg
Copy link
Owner

Merged with some minor changes and added tests. Thanks!

@bruce-y bruce-y deleted the by/websocket-options branch November 9, 2022 15:42
@bruce-y bruce-y restored the by/websocket-options branch November 9, 2022 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants