create session added

This commit is contained in:
C
2022-11-22 18:28:29 +05:00
parent c3dedbc530
commit 33222ea5b0
13 changed files with 7127 additions and 77 deletions
+22
View File
@@ -42,3 +42,25 @@
{"verb":"CONNECT_SESSION_WITH_CODE", "code":"1234"},
в ответ придёт {"verb":"CONNECT_TO_SESSION", "ip":"0.0.0.1", "port":"1111", "code":"1234"}, или
если сессии не существует {"msg":"SESSION_NOT_EXIST"}.
COMMANDS:
{"verb":"GET_TITLES", "start":0, "count":50}
{"verb":"PLAN_SESSION", "title":"SomeRC", "year":2022, "month":11, "day":4, "hour":20, "minute":13, "period_minute":30}
{
"title":"SomeRC",
"data":[
{
"ip":"127.0.0.1",
"port":"0000",
"copies":5
},
{
"ip":"127.0.0.2",
"port":"0001",
"copies":2
}
]}
{"verb":"CREATE_SESSION", "title":"SomeRC"}