XmlRpcServer class abstract

A XmlRpcServer that handles the XMLRPC server protocol.

Subclasses must provide a http server to bind to the host / port and listen for incoming requests.

The fault codes specified are from the spec here

Implementers

Constructors

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

Properties

encoding → Encoding
The Encoding to use as default, this defaults to utf8
final
handler → XmlRpcHandler
The XmlRpcHandler used for method lookup and handling
final
hashCode → int
The hash code for this object.
no setterinherited
host → String
The host uri
final
port → int
The port to host the server on
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptRequest(HttpRequest request, Encoding encoding) → void
Accepts a HTTP request
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → Future<void>
Starts up the XmlRpcServer and starts listening to requests
stop({bool force = false}) → Future<void>
Stops the XmlRpcServer
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

rpcPaths → List<String>
final