Updated protocol

This commit is contained in:
Tristan 🅱. Kildaire 2020-09-23 10:52:00 +02:00
parent 34fc7212ef
commit cc59be180b
1 changed files with 2 additions and 2 deletions

View File

@ -23,12 +23,12 @@ Every command starts with a 1 byte code specifying the command.
### `auth`
```
|-- 0 --|-- username (null-terminated) --|-- password (null-terminated)--|
|-- 0 --|-- usernameLength (1 byte) --|-- username --|-- password --|
```
### `link`
```
|-- 0 --|-- todo
|-- 1 --|-- todo
```