るりまサーチ

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

別のキーワード

  1. _builtin hash
  2. hash []
  3. dbm to_hash
  4. matrix hash
  5. _builtin to_hash

検索結果

<< < 1 2 >>

xmlrpc (54.0)

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

...e

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

See http...
...ossible to choose between XMLParser module (Expat wrapper) and REXML/NQXML (pure Ruby) parsers
* Marshalling Ruby objects to Hashs and reconstruct them later from a Hash
* SandStorm component architecture Client interface

=== Choosing a different XML Parser or XML Writer

The examples above...
...g xmlrpc/config.rb.

Client Example:

require 'xmlrpc/client'
# ...
server = XMLRPC::Client.new( "xmlrpc-c.sourceforge.net", "/api/sample.php")
server.set_parser(XMLRPC::XMLParser::XMLParser.new)
# ...

Server Example:

require 'xmlrpc/server'
# ...
s = XMLRPC::CGIServer.new
s.set...
<< < 1 2 >>