Browse files

Add quit to protocol docs.

  • Loading branch information...
1 parent 8cb6927 commit e21bc14286099409a923fe1e73ab1b5542dbbd62 @lericson lericson committed May 27, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 doc/protocol.txt
5 doc/protocol.txt
@@ -361,6 +361,8 @@ variations. All but the first operate only on the currently used tube.
- "peek-buried\r\n" - return the next job in the list of buried jobs.
+ - "quit\r\n" - close the connection.
There are two possible responses, either a single line:
- "NOT_FOUND\r\n" if the requested job doesn't exist or there are no jobs in
@@ -629,3 +631,6 @@ OK <bytes>\r\n
- <data> is a sequence of bytes of length <bytes> from the previous line. It
is a YAML file containing watched tube names as a list of strings.
+The quit command simply closes the connection. Its form is:

0 comments on commit e21bc14

Please sign in to comment.