client-batch #4

Open
rlahfa wants to merge 3 commits from client-batch into develop

3 commits

Author SHA1 Message Date
Raito Bezarius
381ecddfee feat(ircv3): add client-batches feature
Some checks failed
CI / rustfmt (pull_request) Failing after 25s
CI / test (pull_request) Failing after 53s
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-10-14 11:19:51 +02:00
Raito Bezarius
b1fc58ac42 feat(ircv3): add simple internal batch processing
The BATCH feature is a form of a server-suggested message processing
delays.

To implement this, we can record all inflight batches, handle start/end
in handle_batch and collect all pending messages in the entrypoint of
the message handler as long as they have a correct batch id.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-10-14 11:19:51 +02:00
Raito Bezarius
1389b438e4 feat(irc-proto/ircv3): add standard replies support
Only parsing is supported here, not reserialization.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-10-14 11:19:51 +02:00