class Net::SFTP::Request

Encapsulates a single active SFTP request. This is instantiated automatically by the Net::SFTP::Session class when an operation is executed.

request = sftp.open("/path/to/file")
puts request.pending? #-> true
request.wait
puts request.pending? #-> false
result = request.response