Skip to content

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

@CommuniG8

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions