XmlRpcServer constructor

XmlRpcServer({
  1. required String host,
  2. required int port,
  3. required XmlRpcHandler handler,
  4. Encoding encoding = utf8,
})

Creates a XmlRpcServer that will bind to the specified host and port

as well as the String encoding for http requests and responses

You must await the call to serverForever to start up the server before making any client requests

Implementation

XmlRpcServer({
  required this.host,
  required this.port,
  required this.handler,
  this.encoding = utf8,
});