Skip to content

Commit

Permalink
Server-protocol: Tell mailbox in "allocated"
Browse files Browse the repository at this point in the history
The server has already opened the mailbox at this point so there is
a mailbox ID, but the client would still need to issue an `open` in
order to access it. Now the "allocated" response also contains the
mailbox ID, so clients may save a round trip if they want to.
  • Loading branch information
piegamesde committed Apr 4, 2023
1 parent e135506 commit 433fe76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ any), and which ones provoke direct responses:
* (C->S) list {} -> nameplates
* S->C nameplates {nameplates: [{id: str},..]} (response might be empty)
* (C->S) allocate {} -> allocated
* S->C allocated {nameplate:}
* S->C allocated {nameplate:,mailbox:}
* (C->S) claim {nameplate:, allocate:?bool} -> claimed
* S->C claimed {mailbox:}
* (C->S) release {nameplate:?} -> released
Expand Down

0 comments on commit 433fe76

Please sign in to comment.