diff options
author | x-yl <kylepereira@mail.com> | 2021-06-01 18:39:50 +0400 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-06-11 23:58:28 +0430 |
commit | 2f04d24b66f8bd234341f34c3f4047d77a639532 (patch) | |
tree | 299cf4804d2635497ddc1991e1e2a76b8c6eae61 /Userland/Libraries/LibIMAP/Client.h | |
parent | 0f42ea6770af1e086b07fb8309ca0af6848097c9 (diff) | |
download | serenity-2f04d24b66f8bd234341f34c3f4047d77a639532.zip |
LibIMAP: Support for the LIST and SELECT commands
Diffstat (limited to 'Userland/Libraries/LibIMAP/Client.h')
-rw-r--r-- | Userland/Libraries/LibIMAP/Client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibIMAP/Client.h b/Userland/Libraries/LibIMAP/Client.h index 1481d92eb7..026173bae9 100644 --- a/Userland/Libraries/LibIMAP/Client.h +++ b/Userland/Libraries/LibIMAP/Client.h @@ -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; |