Interface: ActionInvocation
A request to a controller action, as the middlewares receive it.
Properties
action
readonlyaction:ChannelActionInfo|HTTPActionInfo|ServiceActionInfo|CLIActionInfo
The requested action's description.
container
readonlycontainer:Container
The request's container, destroyed when the request ends: the controller and the middleware classes are created in it.
context
readonlycontext:BaseContext<{ }> |CLIContext<{ }> |HTTPContext<{ }> |ServiceContext<{ }>
The request's context; its data is the action's input before validation (a middleware may change it).
params?
readonlyoptionalparams?:Record<string,unknown>
The parameters taken from the request's address (such as route parameters), merged over the data into the input.
signal?
readonlyoptionalsignal?:AbortSignal
Aborts when the request is aborted (its client gone, the entrypoint stopping).