diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-03 05:55:15 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-03 05:55:25 +0200 |
commit | b14501bfd679bbcd79ec983d71cba96e8e58c604 (patch) | |
tree | f759623cac50249592658c4ae0c001c94ecdd065 /doc/protocols | |
parent | free the clipboard when exiting (diff) | |
download | mds-b14501bfd679bbcd79ec983d71cba96e8e58c604.tar.gz mds-b14501bfd679bbcd79ec983d71cba96e8e58c604.tar.bz2 mds-b14501bfd679bbcd79ec983d71cba96e8e58c604.tar.xz |
mds-clipboard: all actions except add, however there is not removal of old entries yet
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/protocols')
-rw-r--r-- | doc/protocols | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/protocols b/doc/protocols index e008c28..1a251af 100644 --- a/doc/protocols +++ b/doc/protocols @@ -142,23 +142,28 @@ Conditionally required header: Length Length of the message Conditionally required header: Size - Available and optional if: `Action: set-size` + Required if: `Action: set-size` The maximum number of elements in the clipstack -Conditionally optional header: Index - Available and optional if: `Action: read` - The index of the item in the clipstack, starting at 0 - Conditionally required header: Client ID Your ID, provided by `ID assignment` in response to `Command: assign-id`. - Required if: `Action: add` but not `Time to live: forever` + Required if: `Action: add` and a header starting with + `Time to live: until-death` + Required if: `Action: read` + Required if: `Action: get-size` + +Conditionally optional header: Index + Available and optional if: `Action: read` + The index of the item in the clipstack, starting at 0 Conditionally optional header: Time to live Available and optional if: `Action: add` The number of seconds the entry should be available before it is removed by the server, or: until-death: remove entry when the client closes + until-death #: remove entry when the client closes, + or # seconds have elapsed forever: never remove it (default) The server will always remove the entry when: 1) it is at the bottom of the clipstack and a new |