Main program for a secured client-srver communication.

This commit is contained in:
damien 2025-06-18 11:08:40 +02:00
parent a472b62e19
commit 2f3f9f47aa
6 changed files with 337 additions and 21 deletions

24
chat_example.json Normal file
View 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
}
]
}