MCPcopy
hub / github.com/grpc/grpc-go / RecvCompress

Method RecvCompress

internal/transport/client_stream.go:144–147  ·  view source on GitHub ↗

RecvCompress returns the compression algorithm applied to the inbound message. It is empty string if there is no compression applied.

()

Source from the content-addressed store, hash-verified

142// RecvCompress returns the compression algorithm applied to the inbound
143// message. It is empty string if there is no compression applied.
144func (s *ClientStream) RecvCompress() string {
145 s.waitOnHeader()
146 return s.recvCompress
147}
148
149// Done returns a channel which is closed when it receives the final status
150// from the server.

Callers

nothing calls this directly

Implementers 3

clientStreamstream.go
okStreaminternal/xds/httpfilter/fault/fault.go

Calls 1

waitOnHeaderMethod · 0.95

Tested by

no test coverage detected