node-sftp-server icon indicating copy to clipboard operation
node-sftp-server copied to clipboard

Refactor

Open uberbrady opened this issue 7 years ago • 0 comments

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.

uberbrady avatar Oct 12 '16 18:10 uberbrady