ApplicationServer class abstract interface

A running application HTTP server with a concrete URL.

Implemented types
Implementers

Properties

application Application
The application that is running on the server.
no setter
hashCode int
The hash code for this object.
no setterinherited
logger → Logger?
The logger of the instance.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
The URL that the server is listening on.
no setterinherited

Methods

close({bool force = false}) Future<void>
Closes the server and returns a future that completes when all resources are released.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reload() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

bind(Application application, Object address, int port, {SecurityContext? securityContext, int backlog = 0, bool v6Only = false, bool requestClientCertificate = false, bool shared = false, String? identifier, Logger? logger}) Future<ApplicationServer>
Binds a application to an address and port.
override