Ruby 2.1.0 リファレンスマニュアル > ライブラリ一覧 > xmlrpc/serverライブラリ > XMLRPC::Serverクラス > new

singleton method XMLRPC::Server.new

new(port=8080, host="127.0.0.1", maxConnections=4, stdlog=$stdout, audit=true, debug=true, *a)[permalink][rdoc]

Creates a new XMLRPC::Server instance, which is a XML-RPC server listening on port port and accepts requests for the host host, which is by default only the localhost. The server is not started, to start it you have to call XMLRPC::Server#serve.

Parameters audit and debug are obsolete!

All additionally given parameters in *a are by-passed to XMLRPC::BasicServer.new.