Add support for deflate_options configuration#21
Merged
mtrudel merged 3 commits intophoenixframework:mainfrom Nov 5, 2025
Merged
Add support for deflate_options configuration#21mtrudel merged 3 commits intophoenixframework:mainfrom
mtrudel merged 3 commits intophoenixframework:mainfrom
Conversation
Contributor
Author
|
Hello @mtrudel. Thanks! |
Member
|
Apologies! I must have missed the original notification for this PR and it fell through the cracks! Merging right away |
Member
|
Released as 0.5.9. Apologies again for the extreme tardiness. |
Contributor
Author
|
Thank you! No worries at all! I wasn't sure if there was a notification involved (as I couldn't add a reviewer or assignee), so I pinged you in the comment. Thanks again! 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for passing
deflate_optionsto the underlying Cowboy WebSocket adapter, allowing users to configure deflate compression settings for their WebSocket connections.Changes
deflate_optionsto the list of supported connection options inWebSockAdapter.upgrade/4deflate_opts(matching Cowboy's expected parameter name)Compatibility
This change is backwards compatible as it only adds a new optional configuration parameter.