ApiDartdokuChannel class Null safety

This type initializes an application.

Override methods in this class to set up routes and initialize services like database connections. See http://aqueduct.io/docs/http/channel/.

Inheritance

Constructors

ApiDartdokuChannel()

Properties

entryPoint Controller
Construct the request channel. [...]
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
logger Logger
The logger that this object will write messages to. [...]
read-only, inherited
messageHub ApplicationMessageHub
Use this object to send data to channels running on other isolates. [...]
final, inherited
options ApplicationOptions?
The configuration options used to start the application this channel belongs to. [...]
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
securityContext SecurityContext?
The context used for setting up HTTPS in an application. [...]
read-only, inherited
server ApplicationServer
The ApplicationServer that sends HTTP requests to this object.
read / write, inherited

Methods

close() Future
You override this method to release any resources created in prepare. [...]
@mustCallSuper, inherited
documentAPI(Map<String, dynamic> projectSpec) Future<APIDocument>
Creates an OpenAPI document for the components and paths in this channel. [...]
inherited
documentComponents(APIDocumentContext registry) → void
Tells this object to add its components to context. [...]
@mustCallSuper, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
prepare() Future
Initialize services in this method. [...]
override
toString() String
A string representation of this object. [...]
inherited
willStartReceivingRequests() → void
You override this method to perform initialization tasks that occur after entryPoint has been established. [...]
inherited

Operators

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