View Source XMLRPC.Decoder (XMLRPC v1.4.3)

This module does the work of decoding an XML-RPC call or response.

Summary

Functions

Decode an XML-RPC Call or Response object

Functions

decode!(iodata, options)

Decode an XML-RPC Call or Response object

Input: iodata consisting of the input XML string options: exclude_nil: false (default) - allow decoding of <nil/> values

Output: On any parse failure raises XMLRPC.DecodeError

On success the decoded result will be a struct, either:

  • XMLRPC.MethodCall
  • XMLRPC.MethodResponse
  • XMLRPC.Fault