From 41ad263b38d5cb5393562730e143d2c5cad747fc Mon Sep 17 00:00:00 2001 From: Jaz Date: Sat, 21 Sep 2024 23:40:35 -0700 Subject: [PATCH] Docs update --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index be0fd57..c277b24 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,8 @@ Jetstream supports `zstd`-based compression of messages. Jetstream uses a custom The provided client library uses compression by default, using an embedded copy of the Dictionary from the `models` package. +To request a compressed stream, pass the `Socket-Encoding: zstd` header through when initiating the websocket. + ### Examples A simple example that hits the public instance looks like: