JuliaWeb / JuliaWeb/WebSockets.jl

Opt-in on message compression

Open
#78 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
161
Forks
57
PR merge metrics
No merged PRs in 30d

Description

Compression extensions are standardized by now.
For local websockets, the current behaviour of not compressing messages is optimal.
For use over the internet, compression is a necessary feature for e.g. interactive pixel graphics.

On the client side, the negotiated message compression is available in javascript using
websocket.extensions. A similar interface ought to be available on the server side.

The http request for a websocket contains the possibilities, e.g. from Chrome:
Sec-WebSocket-Extensions => permessage-deflate; client_max_window_bits

Ref. issue #76 - compression would currently be very effective even on local connections.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.