()
| 1182 | } |
| 1183 | |
| 1184 | func (s *Server) incrCallsFailed() { |
| 1185 | s.channelz.ServerMetrics.CallsFailed.Add(1) |
| 1186 | } |
| 1187 | |
| 1188 | func (s *Server) sendResponse(ctx context.Context, stream *transport.ServerStream, msg any, cp Compressor, opts *transport.WriteOptions, comp encoding.Compressor) error { |
| 1189 | data, err := encode(s.getCodec(stream.ContentSubtype()), msg) |
no test coverage detected