X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=PROTOCOL;h=62bd8221f7d48bf7dae43c17ffadaf50f9b21773;hb=ecfbf76a7a6c560d2e7dcd107450ff58a7d316e5;hp=2f9c22f9558d2c66fb91d4b88640ff7d9a691311;hpb=ff4094ad2ed04317152013b5e048b8ba7f048654;p=pazpar2-moved-to-github.git diff --git a/PROTOCOL b/PROTOCOL index 2f9c22f..62bd822 100644 --- a/PROTOCOL +++ b/PROTOCOL @@ -18,6 +18,23 @@ Response example: 2044502273 +ping + +Keeps a session alive. An idle session will time out after one minute. The +ping command can be used to keep the session alive absent other activity. It +is suggested that any browser client have a simple alarm handler which +sends a ping every 50 seconds or so once a session has been initialized. + +Example: + +search.pz?command=ping&session=2044502273 + +Response example: + + + OK + + search Launches a search, parameters: