mirror of
https://github.com/deavminet/dnetd.git
synced 2025-02-20 06:27:05 +00:00
Updated protocol
This commit is contained in:
parent
a606b19742
commit
af167f47e3
59
protocol.md
59
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`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user