MCPcopy Create free account
hub / github.com/SmingHub/Sming / toString

Function toString

Sming/Components/Network/src/Network/Http/HttpCommon.h:122–126  ·  view source on GitHub ↗

* @brief Return text for an HTTP method */

Source from the content-addressed store, hash-verified

120 * @brief Return text for an HTTP method
121 */
122inline String toString(HttpMethod method)
123{
124 auto fstr = reinterpret_cast<flash_string_t>(http_method_str(http_method(method)));
125 return String(fstr);
126}
127
128/** @} */

Callers 15

HttpParamsClass · 0.70
toStringMethod · 0.70
HeaderClass · 0.70
operator[]Method · 0.70
sendRequestHeadersMethod · 0.70
setBodyParserMethod · 0.70
httpGetStatusTextFunction · 0.70
sendFileMethod · 0.70
toStringMethod · 0.70
appendMethod · 0.70
sendResponseHeadersMethod · 0.70
sendErrorMethod · 0.70

Calls 1

StringClass · 0.50

Tested by

no test coverage detected