Dumping and Loading XML-RPC Messages : xmlrpc « Network « Ruby






Dumping and Loading XML-RPC Messages


require "xmlrpc/marshal"

str = XMLRPC::Marshal.dump( { 'Ruby' => 'is cool' } )
puts str
p XMLRPC::Marshal.load( str )

 








Related examples in the same category

1.Writing XML-RPC Clients
2.XMLRPC call
3.XMLRPC client
4.Writing XML-RPC Servers
5.Calling a method made available over XML-RPC
6.process errors that come back from RPC calls with call2
7.Making an XML-RPC-Enabled Program