MiddlewareChain class
中间件执行链
按优先级顺序执行中间件,确保生命周期完整。
Constructors
-
MiddlewareChain(List<
Middleware> middlewares)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
middlewares
→ List<
Middleware> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute<
T> (RequestContext ctx, Future< Response< executor(RequestOptions options), RequestOptions options) → Future<T> >SmartResponse< T> > - 执行请求
-
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