Closes the stream for both reading and writing. A status code of io.grpc.Status.Code#OK implies normal termination of the stream. Any other value implies abnormal termination. Attempts to read from or write to the stream after closing should be ignored by implementations, and should not
(Status status, Metadata trailers)
| 51 | * @param trailers an additional block of metadata to pass to the client on stream closure. |
| 52 | */ |
| 53 | void close(Status status, Metadata trailers); |
| 54 | |
| 55 | |
| 56 | /** |
no outgoing calls