XmlRPC decode and stringify serialization functions
npm install xmlrpc-serializationXmlRPC decode and stringify serialization functions
This package provides helper functions to work with XML-RPC messages format,
with 100% tests code coverage. It doesn't provides any actual processing of the
messages themselves, if you need that, then use
@piranna/rpc instead.
Decode a XML-RPC message provided as a
XMLDocument
object. It returns a plain object with fields method and params for method
calls, or error and result for method responses.
Serialize a RPC message provided as a plain object with fields method andparams for method calls, or error and result for method responses. It
returns a minimized XML string.