lib/net/sftp/protocol/base.rb
# Send a new packet of the given type, and with the given data arguments.
# A new request identifier will be allocated to this request, and will
# be returned.
Send a new packet of the given type, and with the given data arguments.
A new request identifier will be allocated to this request, and will
be returned.
Send a new packet of the given type and with the given data arguments . A new request identifier will be allocated to this request and will be returned .
def send_request(type, *args)
        @request_id_counter += 1
        session.send_packet(type, :long, @request_id_counter, *args)
        return @request_id_counter
      end
def send_request ( type , * args ) @request_id_counter += 1 session . send_packet ( type , :long , @request_id_counter , * args ) return @request_id_counter end
Send a new packet of the given type, and with the given data arguments.
Send a new packet of the given type and with the given data arguments .
type
<not_specific>
args
<not_specific>