socketRoutes
@adamondo/backend / core/socket/socketRoutes
core/socket/socketRoutes
Functions
sendSocketNotification()
sendSocketNotification(
target,content,event?):void
Defined in: src/core/socket/socketRoutes.ts:18
Sends a notification via socket. Supports both unified notifications and legacy event-based messaging.
Parameters
target
string | number
content
unknown
event?
string = 'notification'
Returns
void
socketRoutes()
socketRoutes(
httpServer):Server<DefaultEventsMap,DefaultEventsMap,DefaultEventsMap,any>
Defined in: src/core/socket/socketRoutes.ts:32
Initializes socket routes and listeners with Redis adapter.
Parameters
httpServer
Server
Returns
Server<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>