DefaultServer class final
- Inheritance
-
- Object
- ApplicationServer
- DefaultServer
Constructors
- DefaultServer(ApplicationOptions options, AppChannelBuilder channelBuilder)
Properties
- channel ↔ AppChannel?
-
getter/setter pairinherited
- channelBuilder ↔ AppChannelBuilder
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier ↔ int
-
The unique identifier of this instance.
getter/setter pairinherited
- logger → Logger
-
The logger of this instance
no setterinherited
- options ↔ ApplicationOptions
-
The configuration this instance used to start its channel.
getter/setter pairinherited
- requiresHTTPS → bool
-
Whether or not this server requires an HTTPS listener.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityContext → SecurityContext?
-
no setterinherited
- server ↔ HttpServer?
-
The underlying HttpServer.
getter/setter pairinherited
Methods
-
close(
) → Future -
Closes this HTTP server and channel.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendApplicationEvent(
IsolateEvent event) → void -
inherited
-
start(
{→ Future< })bool> -
Starts this instance, allowing it to receive HTTP requests.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited