mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
LibIMAP: Support for the LIST and SELECT commands
This commit is contained in:
parent
0f42ea6770
commit
2f04d24b66
5 changed files with 343 additions and 1 deletions
|
@ -21,6 +21,9 @@ public:
|
|||
RefPtr<Promise<Optional<Response>>> send_command(Command&&);
|
||||
RefPtr<Promise<Optional<Response>>> send_simple_command(CommandType);
|
||||
void send_raw(StringView data);
|
||||
RefPtr<Promise<Optional<SolidResponse>>> list(StringView reference_name, StringView mailbox_name);
|
||||
RefPtr<Promise<Optional<SolidResponse>>> select(StringView string);
|
||||
|
||||
void close();
|
||||
|
||||
Function<void(ResponseData&&)> unrequested_response_callback;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue