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

Add compression support to websockets #872

Closed
rxdiscovery opened this issue Aug 15, 2024 · 2 comments
Closed

Add compression support to websockets #872

rxdiscovery opened this issue Aug 15, 2024 · 2 comments

Comments

@rxdiscovery
Copy link

Hello,

It would be very useful to add compression support to websocket to optimize bandwidth,
here's the header that must be interpreted to activate compression

Sec-WebSocket-Extensions: permessage-deflate

Thanks in advance.

@chrislearn
Copy link
Member

salvo does not implement websocket directly, it depends on tokio-tungstenite, so this requires tokio-tungstenite to provide support.

snapview/tokio-tungstenite#251

@rxdiscovery
Copy link
Author

@chrislearn Thank you very much for your responsiveness, I'll look into it.

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

No branches or pull requests

2 participants