summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIMAP/Client.h
diff options
context:
space:
mode:
authorx-yl <kylepereira@mail.com>2021-06-02 17:17:22 +0400
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-06-11 23:58:28 +0430
commit1e9dfdcdcccccf48bdb2a534a091183047ae7699 (patch)
treec5b5393e663cc91a0a65277c1c1934df1d9be866 /Userland/Libraries/LibIMAP/Client.h
parentf00c2c0192c5f99b6924e99b574f014f5dc8ffc4 (diff)
downloadserenity-1e9dfdcdcccccf48bdb2a534a091183047ae7699.zip
LibIMAP: Support for the IDLE command
Diffstat (limited to 'Userland/Libraries/LibIMAP/Client.h')
-rw-r--r--Userland/Libraries/LibIMAP/Client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibIMAP/Client.h b/Userland/Libraries/LibIMAP/Client.h
index 2709cef594..8ff6fc8802 100644
--- a/Userland/Libraries/LibIMAP/Client.h
+++ b/Userland/Libraries/LibIMAP/Client.h
@@ -24,6 +24,8 @@ public:
RefPtr<Promise<Optional<SolidResponse>>> login(StringView username, StringView password);
RefPtr<Promise<Optional<SolidResponse>>> list(StringView reference_name, StringView mailbox_name);
RefPtr<Promise<Optional<SolidResponse>>> select(StringView string);
+ RefPtr<Promise<Optional<ContinueRequest>>> idle();
+ RefPtr<Promise<Optional<SolidResponse>>> finish_idle();
void close();