Whether reader is a TLS stream's reader (from reader_of) whose connection ended without the
peer's close_notify (last_error(stream).kind == .TRUNCATED). For a protocol that frames its own
messages, such as HTTP, where that end is no failure once the message is complete.
- reader: the reader to test. Any reader is fine; others give false.
ended_without_close_notify :: (reader: Io.Reader) -> bool
Whether reader is a TLS stream's reader (from reader_of) whose connection ended without the
peer's close_notify (last_error(stream).kind == .TRUNCATED). For a protocol that frames its own
messages, such as HTTP, where that end is no failure once the message is complete.
Parameters
- reader: Io.Reader
- the reader to test. Any reader is fine; others give false.
Returns
- bool