I’ve never thought about how the room model matches the LiveView socket model before. Which socket library are you using?
a room is a genserver. For the socket itself, https://github.com/davidstump/SwiftPhoenixClient
a room is a genserver. For the socket itself, https://github.com/davidstump/SwiftPhoenixClient