The stream as an Io.Writer, for code written against writers. Writing it is write_some; closing it closes the whole
stream, once, so close either the reader or the writer of a stream and not both. It is only valid until close.
- stream: the stream to write through.
writer_of :: (stream: *Tls_Stream) -> Io.Writer
The stream as an Io.Writer, for code written against writers. Writing it is write_some; closing it closes the whole
stream, once, so close either the reader or the writer of a stream and not both. It is only valid until close.
Parameters
- stream: *Tls_Stream
- the stream to write through.