]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - socket/socket-io.ts
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / socket / socket-io.ts
1 import * as io from 'socket.io-client'
2
3 function getUserNotificationSocket (serverUrl: string, accessToken: string) {
4 return io(serverUrl + '/user-notifications', {
5 query: { accessToken }
6 })
7 }
8
9 // ---------------------------------------------------------------------------
10
11 export {
12 getUserNotificationSocket
13 }