FastLED 3.9.15
Loading...
Searching...
No Matches

◆ get_default_status_text()

static fl::string fl::net::http::Response::get_default_status_text ( int status)
inlinestaticprivate

Definition at line 162 of file fetch.h.

162 { // okay static in header
163 switch (status) {
164 case 200: return "OK";
165 case 400: return "Bad Request";
166 case 401: return "Unauthorized";
167 case 403: return "Forbidden";
168 case 404: return "Not Found";
169 case 500: return "Internal Server Error";
170 case 501: return "Not Implemented";
171 case 502: return "Bad Gateway";
172 case 503: return "Service Unavailable";
173 default: return "Unknown";
174 }
175 }
int status() const
HTTP status code (like JavaScript response.status)
Definition fetch.h:86

References status().

Referenced by Response().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: