Skip to main content

Interface: HttpContext

Represents the context of an HTTP request, including request, response, session, host, and version information. Extends the ExecutionContext from the engine module.

Extends​

Properties​

error?​

optional error?: Error

Inherited from​

ExecutionContext.error


host​

host: HostDefinition | undefined


propertyKey​

propertyKey: string | symbol

Inherited from​

ExecutionContext.propertyKey


request​

request: HttpRequest


response​

response: HttpResponse


scopedContainer​

scopedContainer: ScopedContainer

Inherited from​

ExecutionContext.scopedContainer


session​

session: HttpSession<Record<string, unknown>> | undefined


target​

target: ClassType

Inherited from​

ExecutionContext.target


transport​

transport: ExecutionTransport

Inherited from​

ExecutionContext.transport


version​

version: VersionDefinition | undefined