ShelfServer class

ShelfServer

Create a server

Inheritance

Constructors

ShelfServer(dynamic address, int port, {SecurityContext? securityContext})

Properties

address → dynamic
Server address
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
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 context = 'utopia', String? path}) → Future<void>
Start the server
override
stop() → Future<void>
Stop servers
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited