-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Feature Request: Per message deflate configurable per message #2551
Comments
I like the proposal. |
@asvetlov I love to get into the inner workings of aiohttp but as of right now I don't have the time at hand. So at same later time I will :) |
@FlorianLudwig @asvetlov I would like to take on PR for this feature, do you mind it? |
Please do |
@maqquettex awesome, thanks! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
Long story short
It is called "per message compression" but is not configurable per message.
Suggested API change:
coroutine send_str(data, compress=None)
The
compress
argument allows to overwrite the value fromWebSocketResponse
on a per message basis.Same for
send_bytes
andsend_json
The text was updated successfully, but these errors were encountered: