WriteStatus sends the status of a stream to the client. WriteStatus is the final call made on a stream and always occurs.
(st *status.Status)
| 74 | // WriteStatus sends the status of a stream to the client. WriteStatus is |
| 75 | // the final call made on a stream and always occurs. |
| 76 | func (s *ServerStream) WriteStatus(st *status.Status) error { |
| 77 | return s.st.writeStatus(s, st) |
| 78 | } |
| 79 | |
| 80 | // isHeaderSent indicates whether headers have been sent. |
| 81 | func (s *ServerStream) isHeaderSent() bool { |