るりまサーチ

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.022秒)

別のキーワード

  1. webrick/https client_cert
  2. imap client_thread
  3. openssl client_cert_cb
  4. imap client_thread=
  5. openssl client_cert_cb=

検索結果

xmlrpc (24.0)

XML-RPC を扱うためのライブラリです。

...=== Example

Try the following code. It calls a standard demonstration remote procedure.

require 'xmlrpc/client'
require 'pp'

server = XMLRPC::Client.new2("http://xmlrpc-c.sourceforge.net/api/sample.php")
result = server.call("sample.sumAndDifference", 5, 3)
pp result

=== Documentation...
...er, then you have to call the <i>set_parser</i> method of
XMLRPC::Client
instances or instances of subclasses of
XMLRPC::BasicServer or by editing xmlrpc/config.rb.

Client Example:

require 'xmlrpc/client'
# ...
server = XMLRPC::Client.new( "xmlrpc-c.sourceforge.net", "/api/sample.php")
se...
...is ~350 (!) times faster than
NQXMLTreeParser and still ~18 times as fast as XMLTreeParser.

You can change the XML-writer by calling method <i>set_writer</i>.

=== 参考

* http://www.linux.or.jp/JF/JFdocs/XML-RPC-HOWTO/index.html
* http://www.linux.or.jp/JF/JFdocs/XML-RPC-HOWTO/xmlrpc-howto-...