node-sftp-server
node-sftp-server copied to clipboard
Refactor
The Reader and Transform classes should be refactored and made to inherit from Responder class.
In the SFTPSession class, there are lots of references to this.sftpStream.handle()
or this.sftpStream.status()
etc. That feels like 'reaching-around' into the contained sftpStream
. We should standardize on some of the responses, encapsulate the reqid
in the various requests. This will clean up that code substantially, and make it.