given files
This commit is contained in:
parent
9bf88844e9
commit
a2c31f873d
48 changed files with 10458 additions and 0 deletions
9
src/utils/streams.js
Normal file
9
src/utils/streams.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// FIXME: This file should handle the sockets and the subscriptions
|
||||
// Exports must include
|
||||
// - initSocket (initialize the connection to the socket server)
|
||||
// - socket (variable resulting of initSocket function)
|
||||
|
||||
// Functions may include:
|
||||
// - subscribe (subscribe to a room's stream or chat)
|
||||
// - unsubscribe (unsubscribe from a room's stream or chat)
|
||||
// - sendMessage (send a message to a room's chat)
|
||||
Loading…
Add table
Add a link
Reference in a new issue