filmov
tv
Angular SocketIO connection (Multiple endpoint)

Показать описание
#angular #socketio connection (Multiple endpoint)
Using multiple sockets with different end points
In this case we do not configure the SocketIoModule directly using forRoot. What we have to do is: extend the Socket service, and call super() with the SocketIoConfig object type (passing url & options if any).
Using multiple sockets with different end points
In this case we do not configure the SocketIoModule directly using forRoot. What we have to do is: extend the Socket service, and call super() with the SocketIoConfig object type (passing url & options if any).