new

new(port=8080, host="127.0.0.1", maxConnections=4, stdlog=$stdout, audit=true, debug=true, *a) Class Public methods Creates a new XMLRPC::Server instance, which is a XML-RPC server listening on the given port and accepts requests for the given host, which is localhost by default. The server is not started, to start it you have to call #serve. The optional audit and debug parameters are obsolete! All additionally provided parameters in *a are by-passed to XMLRPC::BasicServer.new.

set_writer

set_writer(writer) Instance Public methods Sets the XMLWriter to use for generating XML output. Should be an instance of a class from module XMLRPC::XMLWriter. If this method is not called, then XMLRPC::Config::DEFAULT_WRITER is used.

set_parser

set_parser(parser) Instance Public methods Sets the XMLParser to use for parsing XML documents. Should be an instance of a class from module XMLRPC::XMLParser. If this method is not called, then XMLRPC::Config::DEFAULT_PARSER is used.

parse_content_type

parse_content_type(str) Instance Public methods

serve

serve() Instance Public methods Call this after you have added all you handlers to the server. This method processes a XML-RPC method call and sends the answer back to the client.

new

new(*a) Class Public methods Creates a new XMLRPC::ModRubyServer instance. All parameters given are by-passed to XMLRPC::BasicServer.new.

load_response 2

load_response( stringOrReadable ) Instance Public methods Returns paramOrFault

load_call 2

load_call( stringOrReadable ) Instance Public methods Returns [ methodname, params ]

dump_response 2

dump_response( param ) Instance Public methods

dump_call 2

dump_call( methodName, *params ) Instance Public methods