Header returns the header metadata received from the server if there is any. It blocks if the metadata is not ready to read.
()
| 61 | // Header returns the header metadata received from the server if there |
| 62 | // is any. It blocks if the metadata is not ready to read. |
| 63 | Header() (metadata.MD, error) |
| 64 | // Trailer returns the trailer metadata from the server, if there is any. |
| 65 | // It must only be called after stream.CloseAndRecv has returned, or |
| 66 | // stream.Recv has returned a non-nil error (including io.EOF). |
no outgoing calls