Tls module

writer_of

procedure · 1 overloadSource

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.

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.

Returns

See also