# File lib/bunny/client08.rb, line 364 def send_heartbeat # Create a new heartbeat frame hb = Qrack::Transport::Heartbeat.new('') # Channel 0 must be used switch_channel(0) if @channel.number > 0 # Send the heartbeat to server send_frame(hb) end