Status returns the status received from the server. Status can be read safely only after the stream has ended, that is, after Done() is closed.
()
| 178 | // Status can be read safely only after the stream has ended, |
| 179 | // that is, after Done() is closed. |
| 180 | func (s *ClientStream) Status() *status.Status { |
| 181 | return s.status |
| 182 | } |
| 183 | |
| 184 | func (s *ClientStream) requestRead(n int) { |
| 185 | s.ct.adjustWindow(s, uint32(n)) |
no outgoing calls