XmlRpcHandler constructor

XmlRpcHandler({
  1. required Map<String, Function> methods,
  2. List<Codec>? codecs,
})

Creates a XmlRpcHandler that handles the set of methods.

It uses the specified set of codecs for encoding and decoding.

Implementation

XmlRpcHandler({
  required this.methods,
  List<Codec>? codecs,
}) : codecs = codecs ?? standardCodecs;