lib/rabbitmq/client.rb
def send_request(channel_id, method, properties={})
      Util.error_check :"sending a request",
        @conn.send_method(Integer(channel_id), method.to_sym, properties)
      
      nil
    end
def send_request(channel_id, method, properties={})
      Util.error_check :"sending a request",
        @conn.send_method(Integer(channel_id), method.to_sym, properties)
      
      nil
    end
Send a request on the given channel with the given type and properties.

 @param channel_id [Integer] The channel number to send on.
 @param method [Symbol] The type of protocol method to send.
 @param properties [Hash] The properties to apply to the method.
 @raise [RabbitMQ::FFI::Error] if a library exception occurs.