This package provides improved compression schemes for Buf Connect.
Compression is provided from the github.com/andybalholm/brotli package.
brotli.New function will return options that allow both client and servers to compress and decompress using brotli.
import "go.withmatt.com/connect-brotli" clientOpts, serverOpts := brotli.New()
To enable client compression and force a specific method use
For more details and options see the documentation.