Class | Net::SFTP::Protocol::Base |
In: |
lib/net/sftp/protocol/base.rb
|
Parent: | Object |
The abstract superclass of the specific implementations for each supported SFTP protocol version. It implements general packet parsing logic, and provides a way for subclasses to send requests.
session | [R] | The SFTP session object that acts as client to this protocol instance |
Attept to parse the given packet. If the packet is of an unsupported type, an exception will be raised. Returns the parsed data as a hash (the keys in the hash are packet-type specific).