# File lib/net/ssh/connection/session.rb, line 260
260:     def send_global_request(type, *extra, &callback)
261:       info { "sending global request #{type}" }
262:       msg = Buffer.from(:byte, GLOBAL_REQUEST, :string, type.to_s, :bool, !callback.nil?, *extra)
263:       send_message(msg)
264:       pending_requests << callback if callback
265:       self
266:     end