Skip to content

Export the PerMessageDeflate class and header utils#2315

Merged
lpinca merged 2 commits intomasterfrom
export/libs
Mar 17, 2026
Merged

Export the PerMessageDeflate class and header utils#2315
lpinca merged 2 commits intomasterfrom
export/libs

Conversation

@lpinca
Copy link
Member

@lpinca lpinca commented Mar 11, 2026

Export the PerMessageDeflate class, the parser and serializer for the Sec-WebSocket-Extensions header, and the parser for the Sec-WebSocket-Protocol header.

Documentation is intentionally omitted as these utilities are primarily intended for niche use cases rather than general consumption.

Refs: #2313

lpinca added 2 commits March 11, 2026 23:03
To simplify the API before exporting the `PerMessageDeflate` class,
reduce the number of positional parameters in the constructor by moving
`isServer` and `maxPayload` into the options object.
Export the `PerMessageDeflate` class, the parser and serializer for the
`Sec-WebSocket-Extensions` header, and the parser for the
`Sec-WebSocket-Protocol` header.

Documentation is intentionally omitted as these utilities are primarily
intended for niche use cases rather than general consumption.

Refs: #2313
@lpinca lpinca merged commit d3503c1 into master Mar 17, 2026
136 checks passed
@lpinca lpinca deleted the export/libs branch March 17, 2026 20:43
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.

1 participant