Preparing search index...
The search index is not available
Midway v3 Api Reference
Midway v3 Api Reference
@midwayjs/core
IValveHandler
Interface IValveHandler
每个具体的 valve 需要继承实现该接口
Hierarchy
IValveHandler
Index
Properties
alias?
Methods
invoke
Properties
Optional
alias
alias
?:
string
最终合并结果object中的key,默认为 valve 名称
Methods
invoke
invoke
(
ctx
:
IPipelineContext
)
:
Promise
<
any
>
执行当前 valve
Parameters
ctx:
IPipelineContext
上下文
Returns
Promise
<
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Midway v3
Api
Reference
@midwayjs/bootstrap
@midwayjs/core
Consumer
Metadata
FaaSMetadata
GRPCMetadata
@midwayjs/decorator
@midwayjs/koa
IValve
Handler
alias?
invoke
Generated using
TypeDoc
每个具体的 valve 需要继承实现该接口