AgentResponseHandler type
Framework-agnostic handler signature for the SDK-specific Activity callback endpoint.
type AgentResponseHandler = (
req: Request,
res: WebResponse,
params: AgentResponseHandlerParams
) => Promise<void>
Remarks
The handler is intended to be invoked by a thin framework-specific wrapper (such
as Express's configureResponseController(app, ...)) that extracts the path
parameters and forwards a parsed req.body plus an WebResponse.