From af167f47e3e37c14e4bf9df082e1490c9b06d2e7 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Thu, 24 Sep 2020 12:31:53 +0200 Subject: [PATCH] Updated protocol --- protocol.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/protocol.md b/protocol.md index e5cf194..13e5ae5 100644 --- a/protocol.md +++ b/protocol.md @@ -31,12 +31,67 @@ Request format: Reply format: ``` -|-- 1 --|-- status (1 byte) --| +|-- status (1 byte) --| ``` ### `link` ``` -|-- 2 --|-- todo +|-- 1 --|-- todo ``` +### `reg` + +2 + +### `join` + +Request format: + +TODO: Allow multiple joins + +``` +|-- 3 --|-- channelToJoin(CSV) --| +``` + +Reply format: + +``` +|-- status (1 byte) --| +``` + +TODO: Support redirects? + +### `part` + +Request format: + +``` +|-- 4 --|-- channelToPart(CSV) --| +``` + +Reply format: + +``` +|-- status (1 byte) --| +``` + +### `msg` +5 + +### `list` + +Request format: + +``` +|-- 6 --| +``` + +Reply format: + +``` +|-- status (1 byte) --|-- channelnames(CSV) --| +``` + +### `chanprop` +