遠程方法調用 - xmlrpc4r
xmlrpc4r 是 XMLRPC 的 Ruby 語言實現。XML-RPC提供了利用XML通過HTTP來調用遠程方法。這個協議有點類似于SOAP,但更加方便。詳細信息請看:XML-RPC homepage
<URL:http://www.xmlrpc.com/>。
它具有以下特性:
- Introspection
- multiCall
- optionally nil values and integers larger than 32 Bit
- Standalone XML-RPC server
- CGI-based (works with FastCGI)
- Apache mod_ruby server
- WEBrick servlet
- synchronous/asynchronous calls
- Basic HTTP-401 Authentification
- HTTPS protocol (SSL)
- NQXMLStreamParser
- NQXMLTreeParser
- XMLStreamParser (fastest)
- XMLTreeParser
- REXMLStreamParser
- XMLScanStreamParser
- possible to choose between XMLParser Module (Expat wrapper) and NQXML (pure Ruby) parsers
- Marshalling Ruby objects to Hashs and reconstruct them later from a Hash
- SandStorm component architecture Client interface
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!