1 import { io } from 'socket.io-client'
3 function getUserNotificationSocket (serverUrl: string, accessToken: string) {
4 return io(serverUrl + '/user-notifications', {
9 function getLiveNotificationSocket (serverUrl: string) {
10 return io(serverUrl + '/live-videos')
13 // ---------------------------------------------------------------------------
16 getUserNotificationSocket,
17 getLiveNotificationSocket