MCPcopy Create free account
hub / github.com/apple/foundationdb / toString

Method toString

fdbrpc/HTTP.actor.cpp:84–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84std::string Response::toString() {
85 std::string r = format("Response Code: %d\n", code);
86 r += format("Response ContentLen: %lld\n", contentLen);
87 for (auto h : headers)
88 r += format("Reponse Header: %s: %s\n", h.first.c_str(), h.second.c_str());
89 r.append("-- RESPONSE CONTENT--\n");
90 r.append(content);
91 r.append("\n--------\n");
92 return r;
93}
94
95PacketBuffer* writeRequestHeader(std::string const& verb,
96 std::string const& resource,

Callers 15

displayWorkersMethod · 0.45
newProcessFunction · 0.45
killProcess_internalFunction · 0.45
killProcessFunction · 0.45
killMachineFunction · 0.45
killDataCenterFunction · 0.45
clogInterfaceFunction · 0.45
doRebootFunction · 0.45
parseKeyFunction · 0.45

Calls 3

formatFunction · 0.50
c_strMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected