closeRead abstract method
Closes the stream for reading but leaves it open for writing.
When closeRead is called, all in-progress read calls are interrupted with a non-EOF error and no further calls to read will succeed.
The handling of new incoming data on the stream after calling this function is implementation defined.
closeRead does not free the stream, users must still call close or reset.
Implementation
Future<void> closeRead();