Sha256: d28151a8518a149c935ed8401038d52991d0c287d846dc80023a61b46bd69b59

Contents?: true

Size: 453 Bytes

Versions: 31

Compression:

Stored size: 453 Bytes

Contents

require "webrick"
require "xmlrpc/server"

require "rabbit/xmlrpc/base"

module Rabbit
  module XMLRPC
    class Server < ::WEBrick::HTTPServer
      def initialize(front, *args)
        super(*args)
        servlet = Servlet.new(front)
        mount(PATH, servlet)
      end
    end
    
    class Servlet < ::XMLRPC::WEBrickServlet
      def initialize(front, *args)
        super(*args)
        add_handler(PREFIX, front)
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
rabbit-2.1.3 lib/rabbit/xmlrpc/server.rb
rabbit-2.1.2 lib/rabbit/xmlrpc/server.rb
rabbit-2.1.1 lib/rabbit/xmlrpc/server.rb
rabbit-2.1.0 lib/rabbit/xmlrpc/server.rb
rabbit-2.0.9 lib/rabbit/xmlrpc/server.rb
rabbit-2.0.8 lib/rabbit/xmlrpc/server.rb
rabbit-2.0.7 lib/rabbit/xmlrpc/server.rb
rabbit-2.0.6 lib/rabbit/xmlrpc/server.rb
rabbit-2.0.5 lib/rabbit/xmlrpc/server.rb
rabbit-2.0.4 lib/rabbit/xmlrpc/server.rb
rabbit-2.0.3 lib/rabbit/xmlrpc/server.rb
rabbit-2.0.2 lib/rabbit/xmlrpc/server.rb
rabbit-2.0.1 lib/rabbit/xmlrpc/server.rb
rabbit-2.0.0 lib/rabbit/xmlrpc/server.rb
rabbit-1.0.9 lib/rabbit/xmlrpc/server.rb
rabbit-1.0.8 lib/rabbit/xmlrpc/server.rb
rabbit-1.0.7 lib/rabbit/xmlrpc/server.rb
rabbit-1.0.6 lib/rabbit/xmlrpc/server.rb
rabbit-1.0.5 lib/rabbit/xmlrpc/server.rb
rabbit-1.0.4 lib/rabbit/xmlrpc/server.rb