Added some appropiate nodiscard atributes
This commit is contained in:
parent
5264139d49
commit
90e70f2e82
@ -36,6 +36,10 @@ class HttpRequest
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void parseBuffer();
|
void parseBuffer();
|
||||||
|
[[nodiscard]] bool parseBufferforRequestLine();
|
||||||
|
[[nodiscard]] bool parseBufferforHeaders();
|
||||||
|
[[nodiscard]] bool parseBufferforBody();
|
||||||
|
|
||||||
void parseContentLength();
|
void parseContentLength();
|
||||||
const ServerConfig *serverConfig_;
|
const ServerConfig *serverConfig_;
|
||||||
const Client *client_;
|
const Client *client_;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user