ae.utils.xmlrpc

Simple XML-RPC serializer.

Members

Classes

XmlRpcException
class XmlRpcException

Exception class used for XML-RPC response errors.

Functions

formatXmlRpcCall
XmlDocument formatXmlRpcCall(string methodName, T params)

Format an XML-RPC method call.

parseXmlRpcResponse
T parseXmlRpcResponse(XmlDocument doc)

Parse an XML-RPC response. On success, return the response return value, deserialized as T. On failure, throw XmlRpcException.

parseXmlValue
T parseXmlValue(XmlNode value)

Parse a D value from an XML node according to XML-RPC.

valueToXml
XmlNode valueToXml(T v)

Serialize a D value v to an XML node according to XML-RPC.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>