Home
last modified time | relevance | path

Searched refs:responseHeaders (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/frontend/gcastv2/https/
DHTTPServer.cpp88 std::unordered_map<std::string, std::string> responseHeaders; in handleSingleRequest() local
123 &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() argument
282 (*responseHeaders)["Connection"] = "Upgrade"; in handleWebSocketRequest()
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/https/include/https/
DHTTPServer.h99 std::unordered_map<std::string, std::string> *responseHeaders,
106 std::unordered_map<std::string, std::string> *responseHeaders,