This commit is contained in:
2022-05-18 21:58:31 +02:00

View File

@@ -17,7 +17,7 @@ public:
[[nodiscard]] std::vector<std::string> client(const std::string &address, int portno, const std::vector<std::string> &requests) const;
private:
static const bool USE_LENGTH_HEADER = true;
static constexpr bool USE_LENGTH_HEADER = true;
static std::string read_from_socket(int sockfd) ;
static void write_to_socket(int sockfd, const std::string &str) ;
};