Server class abstract
Server adapter
- Implementers
Constructors
- Server(dynamic address, int port, {SecurityContext? securityContext})
Properties
- address → dynamic
-
Server address
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- port → int
-
Server port
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityContext → SecurityContext?
-
Server security context
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
Handler handler, {String context = 'utopia', String? path}) → Future< void> - Start the server
-
stop(
) → Future< void> - Stop the server
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited