Function: Socket()
Socket(
target,propertyKey,index):void
Defined in: service-core/src/decorators/RouteDecorators.ts:394
Injects the underlying Socket object associated with the request as the value of the decorated argument. When the handler function is for a WebSocket request, the returned socket will be the newly established WebSocket connection.
Parameters
target
any
propertyKey
string
index
number
Returns
void