aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocol.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocol.md b/protocol.md
index aa6de82..4094b79 100644
--- a/protocol.md
+++ b/protocol.md
@@ -39,6 +39,8 @@ A _response_ from the server will be in one of the following forms:
- `<tag> error <message:string...>`
- The client's message was successfully parsed, but handling resulted in an
error described in the message.
+- `<tag> name <name:word>`
+ - A name was returned, probably the name of the room in `create_room`.
- `<tag> list <count:i64> words...`
- A list of words was returned. The number of words returned is given in
`<count>`; the words themselves are space-separated further arguments to
@@ -75,7 +77,8 @@ ranges until the end of the line).
- Lists all rooms the user is a member of.
- Returns `list` or `error`.
- `<tag> list_members <roomname:word>`
- - Lists all members of the given room, if the user is also a member.
+ - Lists all members of the given room, if the user is also a member. (This
+ includes the user themselves.)
- Returns `list` or `error`.
- `<tag> create_room`
- Creates a new room, and enters the room. The id of the room is returned to