14件ヒット
[1-14件を表示]
(0.014秒)
トップページ > :XMLRPC::Client
キーワード
-
NEWS for Ruby 2
. 1 . 0 (11) - xmlrpc (3)
検索結果
-
NEWS for Ruby 2
. 1 . 0 (18.0) -
NEWS for Ruby 2.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...tial や read をサポートする StringIO か他の IO のようなオブジェクトになりました。
* xmlrpc
* XMLRPC::Client
* 追加: XMLRPC::Client#http クライアントのために Net::HTTP のインスタンスを返します。
通常、それは必要あり......プションを少し変更したいときに便利です。
HTTPクライアントの主要なオプションを変更するときは XMLRPC::Client のメソッドを使うべきです。
=== 標準添付ライブラリの互換性 (機能追加とバグ修正を除く)
* set
* 非... -
xmlrpc (18.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...