leaveRoom method

void leaveRoom()

Sends the leaveRoom to WebSocket server

Implementation

void leaveRoom() {
  idLeaveRoom = sendJson(JsonConstants.leaveRoomMethod);
}