Searched refs:responseHeaders (Results 1 – 2 of 2) sorted by relevance
88 std::unordered_map<std::string, std::string> responseHeaders; in handleSingleRequest() local123 &responseHeaders, in handleSingleRequest()141 &responseHeaders, in handleSingleRequest()175 responseHeaders["Connection"] = "close"; in handleSingleRequest()176 responseHeaders["Content-Type"] = "text/html"; in handleSingleRequest()187 responseHeaders["Content-Length"] = std::to_string(body.size()); in handleSingleRequest()190 responseHeaders["Connection"] = "close"; in handleSingleRequest()196 for (const auto &pair : responseHeaders) { in handleSingleRequest()242 std::unordered_map<std::string, std::string> *responseHeaders, in handleWebSocketRequest() argument282 (*responseHeaders)["Connection"] = "Upgrade"; in handleWebSocketRequest()[all …]
99 std::unordered_map<std::string, std::string> *responseHeaders,106 std::unordered_map<std::string, std::string> *responseHeaders,