mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibIMAP: Support for CAPABILITY command & response
This involves parsing messages with untagged responses
This commit is contained in:
parent
ac712b07f9
commit
0f42ea6770
Notes:
sideshowbarker
2024-07-18 12:25:12 +09:00
Author: https://github.com/X-yl
Commit: 0f42ea6770
Pull-request: https://github.com/SerenityOS/serenity/pull/7735
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/MaxWipfli
Reviewed-by: https://github.com/alimpfard
4 changed files with 55 additions and 0 deletions
|
@ -112,6 +112,8 @@ static ReadonlyBytes command_byte_buffer(CommandType command)
|
|||
switch (command) {
|
||||
case CommandType::Noop:
|
||||
return "NOOP"sv.bytes();
|
||||
case CommandType::Capability:
|
||||
return "CAPABILITY"sv.bytes();
|
||||
}
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue