Skip to main content

Interface: WebSocketContext

Represents the context of a WebSocket connection. Extends the ExecutionContext from the engine module.

Extends​

Properties​

connection​

connection: WebSocketConnection


error?​

optional error?: Error

Inherited from​

ExecutionContext.error


message?​

optional message?: WebSocketMessage<unknown>


propertyKey​

propertyKey: string | symbol

Inherited from​

ExecutionContext.propertyKey


scopedContainer​

scopedContainer: ScopedContainer

Inherited from​

ExecutionContext.scopedContainer


target​

target: ClassType

Inherited from​

ExecutionContext.target


transport​

transport: ExecutionTransport

Inherited from​

ExecutionContext.transport