Tls module

reader_of

procedure · 1 overloadSource

The stream as an Io.Reader, for code written against readers (Io.read_all, the Http client). Reading it is read; closing it closes the whole stream, once. The reader points at the stream, so it is only valid until close.

reader_of :: (stream: *Tls_Stream) -> Io.Reader

The stream as an Io.Reader, for code written against readers (Io.read_all, the Http client). Reading it is read; closing it closes the whole stream, once. The reader points at the stream, so it is only valid until close.

Parameters

stream: *Tls_Stream
the stream to read through.

Returns

See also