ShelfServer class
ShelfServer
Create a server
Constructors
- ShelfServer(dynamic address, int port, {SecurityContext? securityContext})
Properties
- address → dynamic
-
Server address
finalinherited
- handler ↔ Handler?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- path ↔ String?
-
getter/setter pair
- port → int
-
Server port
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityContext → SecurityContext?
-
Server security context
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
Handler handler, {String? path, int threads = 1}) → Future< List< HttpServer> > -
Start the server
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited