Custom React hook that provides a RoomController instance for managing the connection and state of a room.
the host used when creating the socket connection.
The ID of the room to connect to.
What cookies are currently set.
A function to allow updating cookies.
An object containing a getController method to access the RoomController instance.
getController
RoomController
Custom React hook that provides a RoomController instance for managing the connection and state of a room.