join

fun join(newRoom: String): SocketSession

Joins a specific room for the session.

Return

The updated SocketSession instance.

Parameters

newRoom

The room name to join.