Middleware class abstract

Middleware class has a handler function that executes before the route handler and can be used to perform operations like logging, authentication, etc.

Implementers

Constructors

Middleware()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handler(ContextRequest req, ContextResponse res) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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