From e75645bbf8382ed10087541334b140458c74d0ff Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 5 Oct 2022 16:02:02 +0200 Subject: [PATCH] WebContent: Add ConnectionFromClient::fd() accessor --- Userland/Services/WebContent/ConnectionFromClient.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Services/WebContent/ConnectionFromClient.h b/Userland/Services/WebContent/ConnectionFromClient.h index 74be424709..f70ec5d254 100644 --- a/Userland/Services/WebContent/ConnectionFromClient.h +++ b/Userland/Services/WebContent/ConnectionFromClient.h @@ -34,6 +34,8 @@ public: void request_file(NonnullRefPtr&); + Optional fd() { return socket().fd(); } + private: explicit ConnectionFromClient(NonnullOwnPtr);