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
Provide control over fragmentation of outgoing frames #258
Comments
Two APIs may make send here:
Both could be implemented. If both are used simultaneously, I don't know if explicit fragmentation (1.) or automatic fragmentation (2.) should have precedence. Should |
A variant of 1. would be to support asynchronous iteration as well. However, this opens another can of worms: no other data frame should be sent until the fragmented data frame is fully sent. |
The RFC says:
Option 1 is a better match for this. Option 2 can be implemented by end users on top of option 1 if they desire. |
It would be nice to support async iterators as well as regular iterators. However that's complicated on Python < 3.5, without |
Currently websockets doesn't provide a way to fragment outgoing messages.
I'm not sure about the use case.
The spec makes it technically possible so it might be good to support it?
The text was updated successfully, but these errors were encountered: