Skip to content

Feature Request: Per message deflate configurable per message #2551

Closed
@FlorianLudwig

Description

Long story short

It is called "per message compression" but is not configurable per message.

Suggested API change:

coroutine send_str(data, compress=None)

The compress argument allows to overwrite the value from WebSocketResponse on a per message basis.

Same for send_bytes and send_json

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions