XmlRpcServer constructor
XmlRpcServer({
- required String host,
- required int port,
- required XmlRpcHandler handler,
- 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,
});