1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibIMAP: Stop leaking a Core::Promise<bool> in IMAP::Client::connect()

This commit is contained in:
Andreas Kling 2021-09-01 22:56:31 +02:00
parent f4c4b42db9
commit 51ae913bfe
4 changed files with 6 additions and 6 deletions

View file

@ -21,7 +21,7 @@ class Client {
public:
Client(StringView host, unsigned port, bool start_with_tls);
Optional<RefPtr<Promise<Empty>>> connect();
RefPtr<Promise<Empty>> connect();
RefPtr<Promise<Optional<Response>>> send_command(Command&&);
RefPtr<Promise<Optional<Response>>> send_simple_command(CommandType);
void send_raw(StringView data);