discontinuedPackage shorebird has been discontinued.

Server class

Used by Shorebird codegen handle centralized server logic.

Constructors

Server()

Properties

address → InternetAddress
The address the server is listening on. It is only valid to call this after calling serve.
no setter
hashCode → int
The hash code for this object.
no setterinherited
port → int
The port the server is listening on. It is only valid to call this after calling serve.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
server ↔ HttpServer
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serve(List<Handler> handlers) → Future<void>
Starts the server.
toString() → String
A string representation of this object.
inherited

Operators

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