# File lib/bunny/client08.rb, line 88 def close_connection # Set client channel to zero switch_channel(0) send_frame( Qrack::Protocol::Connection::Close.new(:reply_code => 200, :reply_text => 'Goodbye', :class_id => 0, :method_id => 0) ) method = next_method check_response(method, Qrack::Protocol::Connection::CloseOk, "Error closing connection") end