We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 219e100 commit aa7c484Copy full SHA for aa7c484
rpc_util.go
@@ -520,7 +520,7 @@ func (o CompressorCallOption) after(*callInfo, *csAttempt) {}
520
// advertised in the grpc-accept-encoding header for response messages.
521
// Compression algorithms not in the provided list will not be advertised, and
522
// responses compressed with non-listed algorithms will be rejected.
523
-func AcceptCompressors(names ...string) CallOption {
+func acceptCompressors(names ...string) CallOption {
524
cp := append([]string(nil), names...)
525
return acceptCompressorsCallOption{names: cp}
526
}
0 commit comments