2.3 Verification
Open demo/chatroom/javascript/index.html in the browser.
-
Webpage 1
The username could be any; do not modify the token; the ip of the host should be the switcher server address, and it is no need to modify it when local debugging in the eclipse.
Click the login button to enter the next webpage.
-
Webpage 2
The above webpage is displayed after login.
The "abc" is the nickname. If the account is the first login, there is prompt page to input the nickname. Here is the "abc".
The first "test" is the hallname, and the second "test" is the roomname. Here this chatroom is the chatroom with the hall and room.
Click the second "test" to choose the room. Then the "join" button enables. Click the "join" button to enter the next webpage.
-
Webpage 3
The "test" is the roomname and the "abc" is the nickname.
The "rename" button provides the ability to modify the nickname, which is actually used as the example to show the subscription function of the temporary view --- when someone's nickname changes, the others could see this change.
All the other types' clients provide the similar interface to display the function.