SftpClient constructor

SftpClient(
  1. SSHChannel _channel, {
  2. SSHPrintHandler? printDebug,
  3. SSHPrintHandler? printTrace,
})

Implementation

SftpClient(this._channel, {this.printDebug, this.printTrace}) {
  _startHandshake();
  _channel.stream.listen(_handleData);
}