XmlRpcHandler class

A XmlRpcHandler handles the handling RPC functions along with marshalling the arguments and results to / from XMLRPC spec

Has a set of codecs for encoding and decoding the datatypes

Constructors

XmlRpcHandler({required Map<String, Function> methods, List<Codec>? codecs})
Creates a XmlRpcHandler that handles the set of methods.

Properties

codecs List<Codec>
The codecs used for encoding and decoding
final
hashCode int
The hash code for this object.
no setterinherited
methods Map<String, Function>
The function registry
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handle(XmlDocument document) Future<XmlDocument>
Marshalls the data from XML to Dart types, and then dispatches the function, and marshals the return value back into the XMLRPC format
handleFault(Fault fault, {List<Codec>? codecs}) → XmlDocument
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited