Skip to content

uWebSocket: allow to specify compression option #633

Closed
@yosiat

Description

@yosiat

Hi,

I am so excited about uWebSocket support and I want to roll it out, but I saw uWebSocket have support for multiple compression options - SHARED_COMPRESSOR, DEDICATED, etc.. and I would like to tune it for my application use-case.

https://unetworking.github.io/uWebSockets.js/generated/interfaces/WebSocketBehavior.html#compression

Is is possible to expose from socket.io to pass an option to engine.io to allow configuration compression option here -
https://github.com/socketio/engine.io/blob/master/lib/userver.ts#L50

I can implement it, but not sure what's the best way (to have this as "generic" option and not transport specific)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions