Consists of socket related methods
Disconnects the socket from the group
getData
Gets data via socket api requests
type of socket api request(a string)
Data to be sent
A Promise object
joinGroup
Socket joins a group.
Conversation group ID
joinUser
Allows a user socket to join the room
leaveGroup
Socket leaves a group.
registerSocketIoResponse
Various socket events for connection
sendData
Make a socket api request.
Type of socket (a string value)
Data to be sent to socket api
Consists of socket related methods