LibIMAP: Support for the IDLE command

This commit is contained in:
x-yl 2021-06-02 17:17:22 +04:00 committed by Ali Mohammad Pur
commit 1e9dfdcdcc
Notes: sideshowbarker 2024-07-18 12:25:00 +09:00
3 changed files with 18 additions and 0 deletions

View file

@ -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();