SimpleXmlRpcServer class
A XmlRpcServer that handles the XMLRPC server protocol with a single threaded HttpServer
- Inheritance
-
- Object
- XmlRpcServer
- SimpleXmlRpcServer
Constructors
- SimpleXmlRpcServer({required String host, required int port, required XmlRpcHandler handler, Encoding encoding = utf8})
- Creates a SimpleXmlRpcServer
Properties
- encoding → Encoding
-
The Encoding to use as default, this defaults to utf8
finalinherited
- handler → XmlRpcHandler
-
The XmlRpcHandler used for method lookup and handling
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
The host uri
finalinherited
- port → int
-
The port to host the server on
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
acceptRequest(
HttpRequest request, Encoding encoding) → void -
Accepts a HTTP
request
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → Future< void> -
Starts up the
_httpServer
and starts listening to requestsoverride -
stop(
{bool force = false}) → Future< void> -
Stops the
_httpServer
override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited