Skip to content

Question: How can the compression threshold be set for the PerMessageDeflateExtension in a Deflate Client? #1437

Description

@CommuniG8

Describe what you would like to know or do
I'd like to be able to set the compression threshold to a lower value than the 1024 byte value in the PerMessageDeflateExtension.

Describe the solution you'd considered
I've taken a copy of the 1.5.7 source code and changed the default threshold which does work but this is not ideal.

Additional context
I'm sending messages which are a little smaller than 1024 bytes that I'd like to compress.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions