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

Flushing multiple messages once #406

Closed
ericman93 opened this issue Jan 6, 2020 · 1 comment
Closed

Flushing multiple messages once #406

ericman93 opened this issue Jan 6, 2020 · 1 comment
Labels

Comments

@ericman93
Copy link

I have a problem that I'm sending too many messages to the client, that the client can't handle that amount.

I was wondering if there is a flushing mechanism that I can you to send multiple messages in one WebSocket event, or should I implement it

@miguelgrinberg
Copy link
Owner

Unfortunately the Socket.IO protocol does not provide any grouping mechanism for multiple events in the WebSocket transport. Interestingly it does when using long-polling over HTTP.

So yes, this should be implemented at the application layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants