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

Function httpGetStatusText

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

* @brief Return a descriptive string for an HTTP status code */

Source from the content-addressed store, hash-verified

112 * @brief Return a descriptive string for an HTTP status code
113 */
114inline String httpGetStatusText(unsigned code)
115{
116 return toString(HttpStatus(code));
117}
118
119/**
120 * @brief Return text for an HTTP method

Callers

nothing calls this directly

Calls 2

HttpStatusEnum · 0.85
toStringFunction · 0.70

Tested by

no test coverage detected