In
|
func BrotliCompressionLevel(level int) Option { |
|
c, err := brotli.New(brotli.Options{Quality: level}) |
|
if err != nil { |
|
return errorOption(err) |
|
} |
|
return BrotliCompressor(c) |
|
} |
gzip, br, deflate compression levels are configurable via option but I cannot see zstd level? It would be nice to have.
In
httpcompression/adapter.go
Lines 210 to 216 in 102a9fb