Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-11-11 19:04:24 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:27:44 +0300
commit1529969f4bdad281fa805b0173786aa2ebe17c6f (patch)
tree4e372fbebf5f0e294c57c54daa375b74d52a531c /server
parente63510453684395d2d133a1cb40dffca27a1adc3 (diff)
[doc] Updated client/server protocol description
Diffstat (limited to 'server')
-rw-r--r--server/protocol.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/protocol.txt b/server/protocol.txt
index d4e870a188..2fdcbeb637 100644
--- a/server/protocol.txt
+++ b/server/protocol.txt
@@ -52,13 +52,15 @@ Response: Credit [, Error]
}
Description: Sent by client when he tries to download the country file
-Request: ID, File
+Request: ID, Version, File, Size
{
"ID":"12345",
"Cmd":"Download",
"Params":
{
- "File":"Belarus.mwm"
+ "Version":110920,
+ "File":"Belarus.mwm",
+ "Size":47123456
}
}
Response: File[, Urls | Error]