From 90e70f2e82769955a426845fc8ea9f20811ef00f Mon Sep 17 00:00:00 2001 From: whaffman Date: Mon, 22 Sep 2025 22:32:54 +0200 Subject: [PATCH] Added some appropiate nodiscard atributes --- webserv/http/HttpRequest.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webserv/http/HttpRequest.hpp b/webserv/http/HttpRequest.hpp index a218624..aff01be 100644 --- a/webserv/http/HttpRequest.hpp +++ b/webserv/http/HttpRequest.hpp @@ -36,6 +36,10 @@ class HttpRequest private: void parseBuffer(); + [[nodiscard]] bool parseBufferforRequestLine(); + [[nodiscard]] bool parseBufferforHeaders(); + [[nodiscard]] bool parseBufferforBody(); + void parseContentLength(); const ServerConfig *serverConfig_; const Client *client_;