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