MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / CodeToMessage

Method CodeToMessage

MonaCore/sources/HTTP/HTTP.cpp:197–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197const char* HTTP::CodeToMessage(UInt16 code) {
198 auto found = CodeMessages.find(code);
199 if (found != CodeMessages.end())
200 return found->second;
201 return "Unknown";
202}
203
204HTTP::CommandType HTTP::ParseCommand(Exception& ex,const char* value) {
205 if (String::ICompare(value,EXPAND("GET"))==0)

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected