Context <ResponseBodyT>
Hierarchy
- IMidwayWebContext<ResponseBodyT>
- Context
Index
Properties
optionalapiVersion
API version extracted from request
forward
optionaloriginalPath
Original path before version processing
requestContext
Custom properties.
session
startTime
state
Methods
getApp
Get current related application instance.
getAttr
Get value from app attribute map
Type parameters
- T
setAttr
Set value to app attribute map
since version 3.0.0 Please use Context from '@midwayjs/web'