MCPcopy Create free account
hub / github.com/chen3feng/toft / AppendStartLineToString

Method AppendStartLineToString

net/http/response.cpp:129–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void HttpResponse::AppendStartLineToString(std::string* result) const {
130 StringAppend(result, "HTTP/", Version().Major(), ".", Version().Major(),
131 " ", m_status, " ", StatusCodeToReasonPhraseSafe(m_status));
132}
133
134void HttpResponse::FillWithHtmlPage(StatusCode code, const StringPiece& title,
135 const StringPiece& body)

Callers

nothing calls this directly

Calls 2

MajorMethod · 0.80
StringAppendFunction · 0.50

Tested by

no test coverage detected