Method: Net::SSH::Connection::Channel#do_extended_data

Defined in:
lib/net/ssh/connection/channel.rb

#do_extended_data(type, data) ⇒ Object

Invokes the #on_extended_data callback when the server sends extended data to the channel. This will reduce the available window size on the local end. The callback is invoked with the channel, type, and data.



575
576
577
578
# File 'lib/net/ssh/connection/channel.rb', line 575

def do_extended_data(type, data)
  update_local_window_size(data.length)
  @on_extended_data.call(self, type, data) if @on_extended_data
end