def multi_request(method, paths, body=nil, param=nil, header=nil)
      @multi = true

      # Response storage, if not already set
      if @responses.nil?
        @responses = []
      end

      # Handle one or many paths
      if paths.is_a? String or paths.is_a? URI
        paths = [paths]
      end

      # Handle (URI) objects
      paths = paths.map {|p| p.to_s }

      log.debug "Queueing multi-#{method} requests, concurrency: #{concurrency}, path(s): #{ paths.size == 1 ? paths[0]: paths.size }"

      paths.each do | path |

        multi_request = request(path, method.downcase.to_sym, body, param, header)
        multi_request.on_complete do | response |
          log.debug "Multi-#{method} [#{paths.size}]: "+log_message(response)
          @responses << response
        end
        hydra.queue(multi_request)
      end
      hydra
    end
def multi_request(method, paths, body=nil, param=nil, header=nil)
      @multi = true

      # Response storage, if not already set
      if @responses.nil?
        @responses = []
      end

      # Handle one or many paths
      if paths.is_a? String or paths.is_a? URI
        paths = [paths]
      end

      # Handle (URI) objects
      paths = paths.map {|p| p.to_s }

      log.debug "Queueing multi-#{method} requests, concurrency: #{concurrency}, path(s): #{ paths.size == 1 ? paths[0]: paths.size }"

      paths.each do | path |

        multi_request = request(path, method.downcase.to_sym, body, param, header)
        multi_request.on_complete do | response |
          log.debug "Multi-#{method} [#{paths.size}]: "+log_message(response)
          @responses << response
        end
        hydra.queue(multi_request)
      end
      hydra
    end
Prepare and queue a multi request

 @return [#run]