diff options
Diffstat (limited to 'minion/src/wifi_module.hpp')
-rw-r--r-- | minion/src/wifi_module.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/minion/src/wifi_module.hpp b/minion/src/wifi_module.hpp index 447f056..bac5998 100644 --- a/minion/src/wifi_module.hpp +++ b/minion/src/wifi_module.hpp @@ -91,10 +91,9 @@ public: /** * Reads a incoming HTTP request. * - * @returns A pointer to the request. Has to be deleted after use. Is nullptr if - * reading the request failed. + * @returns A request. Has a connection ID of -1 if reading the request failed. */ - auto read_incoming_request() noexcept -> HTTPRequest *; + auto read_incoming_request() noexcept -> HTTPRequest; auto close_connection(size_t connection_id) noexcept -> bool; |