TargetServer class
Constructors
-
TargetServer({required TargetConfiguration? configuration, required List<
TargetBaseController> controllers})
Properties
- configuration → TargetConfiguration
-
The configuration for the server.
final
-
controllers
→ List<
TargetBaseController> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server ↔ HttpServer?
-
The current server instance, if started.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → Future< HttpServer> - Starts the HttpServer.
-
stop(
{bool force = false}) → Future< void> - Stops the HttpServer.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited