1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

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
parent f00c2c0192
commit 1e9dfdcdcc
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();