set_base_stream


Description:

[ Version ( since = "3.12" ) ]
public void set_base_stream (IOStream base_stream)

Replaces the IOStream passed to Stream with base_stream.

The new base_stream should wrap the original IOStream, such as when adding Transport Layer Security after issuing a STARTTLS command.

Parameters:

this

a Stream

base_stream

a IOStream