Main program for a secured client-srver communication.
This commit is contained in:
parent
a472b62e19
commit
2f3f9f47aa
6 changed files with 337 additions and 21 deletions
24
chat_example.json
Normal file
24
chat_example.json
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"stop": "STOP, someone is spying on us",
|
||||
"users": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "Théo"
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Oriana"
|
||||
}
|
||||
],
|
||||
"messages": [
|
||||
{
|
||||
"user_id": 0,
|
||||
"msg": "Hi Oriana"
|
||||
},
|
||||
{
|
||||
"user_id": 1,
|
||||
"msg": "Hello Théo",
|
||||
"sleep": 2
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue