Updated protocol

This commit is contained in:
Tristan 🅱. Kildaire 2020-09-23 13:14:55 +02:00
parent fdea191041
commit 78a571ae67
1 changed files with 9 additions and 1 deletions

View File

@ -22,13 +22,21 @@ Every command starts with a 1 byte code specifying the command.
### `auth` ### `auth`
Request format:
``` ```
|-- 0 --|-- usernameLength (1 byte) --|-- username --|-- password --| |-- 0 --|-- usernameLength (1 byte) --|-- username --|-- password --|
``` ```
Reply format:
```
|-- 1 --|-- status (1 byte) --|
```
### `link` ### `link`
``` ```
|-- 1 --|-- todo |-- 2 --|-- todo
``` ```