    # File lib/amqp/utilities/server_type.rb, line 47
          def self.detect
            if defined?(::PhusionPassenger)
              :passenger
            elsif defined?(::Unicorn)
              :unicorn
            elsif defined?(::Thin)
              :thin
            elsif defined?(::Goliath)
              :goliath
            elsif defined?(::Mongrel) && defined?(::Mongrel::MongrelProtocol)
              :evented_mongrel
            elsif defined?(::Mongrel)
              :mongrel
            elsif defined?(::SCGI)
              :scgi
            elsif defined?(::WEBrick)
              :webrick
            else
              nil
            end # if
          end