ApiDartdokuChannel class

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.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
logger Logger
The logger that this object will write messages to.
no setterinherited
messageHub ApplicationMessageHub
Use this object to send data to channels running on other isolates.
finalinherited
options ApplicationOptions?
The configuration options used to start the application this channel belongs to.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityContext SecurityContext?
The context used for setting up HTTPS in an application.
no setterinherited
server ApplicationServer
The ApplicationServer that sends HTTP requests to this object.
getter/setter pairinherited

Methods

close() Future
You override this method to release any resources created in prepare.
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.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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