XMLRPC.Decoder (XMLRPC v1.4.2) View Source

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

Link to this section Summary

Functions

Decode an XML-RPC Call or Response object

Link to this section Functions

Link to this function

decode!(iodata, options)

View Source

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