updateHeaderSent updates headerSent and returns true if it was already set.
()
| 85 | // updateHeaderSent updates headerSent and returns true |
| 86 | // if it was already set. |
| 87 | func (s *ServerStream) updateHeaderSent() bool { |
| 88 | return s.headerSent.Swap(true) |
| 89 | } |
| 90 | |
| 91 | // RecvCompress returns the compression algorithm applied to the inbound |
| 92 | // message. It is empty string if there is no compression applied. |
no test coverage detected