Trailer returns the trailer metadata from the server, if there is any. It must only be called after stream.CloseAndRecv has returned, or stream.Recv has returned a non-nil error (including io.EOF).
()
| 65 | // It must only be called after stream.CloseAndRecv has returned, or |
| 66 | // stream.Recv has returned a non-nil error (including io.EOF). |
| 67 | Trailer() metadata.MD |
| 68 | // CloseSend closes the send direction of the stream. It closes the stream |
| 69 | // when non-nil error is met. It is also not safe to call CloseSend |
| 70 | // concurrently with SendMsg. |
no outgoing calls