Base class for a Protocol Server.
- Implementers
Properties
Methods
-
expose(
ExposedThing thing) → Future< void> -
Exposes a
thing
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
[ServerSecurityCallback? serverSecurityCallback]) → Future< void> - Starts the server. Accepts a callback for retrieving a Map of credentials for ExposedThings at runtime.
-
stop(
) → Future< void> - Stops the server.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited