1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

LibIMAP: Support for LOGIN and LOGOUT

This commit is contained in:
x-yl 2021-06-01 19:10:20 +04:00 committed by Ali Mohammad Pur
parent 2f04d24b66
commit f00c2c0192
4 changed files with 31 additions and 0 deletions

View file

@ -21,6 +21,7 @@ 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>>> login(StringView username, StringView password);
RefPtr<Promise<Optional<SolidResponse>>> list(StringView reference_name, StringView mailbox_name);
RefPtr<Promise<Optional<SolidResponse>>> select(StringView string);