Update protocol.txt
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
=== Session creation ===
|
||||
|
||||
Url: Root server url (not including /server)
|
||||
Url: Server url
|
||||
Parameters as GET:
|
||||
* login: User's login in plain text.
|
||||
* password: User's password in plain text.
|
||||
@@ -28,7 +28,7 @@ where X:
|
||||
|
||||
Answer with no error:
|
||||
The status="0" to specify everything is okay, plus a list of destination for request, validation job, etc.
|
||||
It provide a destination for error, job request, job validation, download needed file, heart beat (keepmealive) and logout.
|
||||
It provide a destination for error, job request, job validation, download needed file, heart beat (keepmealive), logout, thumbnail of last frame rendered and how many credits was earned so far.
|
||||
The maximum duration between two heart beat is given by the attribute "max-period" who is in second.
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<config status="0">
|
||||
@@ -38,6 +38,8 @@ The maximum duration between two heart beat is given by the attribute "max-perio
|
||||
<request type="error" path="/server/error.php" />
|
||||
<request type="keepmealive" path="/server/keepmealive.php" max-period="1440" />
|
||||
<request type="logout" path="/account.php?mode=logout&worker=1" />
|
||||
<request type="last-render-frame" path="/ajax.php?action=webclient_get_last_render_frame_ui&type=raw"/>
|
||||
<request type="credits-earned" path="/ajax.php?action=credits_earned_on_session"/>
|
||||
</config>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user