Sha256: 7714b160d3451680f82a6945b75fea54d9184b9578eb279ae83c6c45bd37d764
Contents?: true
Size: 449 Bytes
Versions: 12
Compression:
Stored size: 449 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
12 entries across 12 versions & 1 rubygems