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 support for Websocket compression #40

Merged
merged 3 commits into from
Jul 14, 2024

Conversation

alberts-s
Copy link
Contributor

This PR adds the ability to enable compression for websockets. The compression is disabled by default due to the fact that it is marked as experimental in gorilla/websocket and there have been issues with compression whenever Safari is enabled.

This PR partially addresses #30.

This commit adds the ability to enable compression for websockets.
The compression is disabled by default due to the fact that it is marked
as experimental in gorilla/websocket and there have been issues with
compression whenever Safari is enabled.
This commit partially addresses d-Rickyy-b#30.
I appreciate the comment as explanation, but using regular bools in the struct will lead to the default values being parsed. The default value for bools is "false". So there's no need to use a pointer in here.
@d-Rickyy-b d-Rickyy-b merged commit 6adc0e5 into d-Rickyy-b:master Jul 14, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants