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

◆ get_default_status_text()

static fl::string fl::response::get_default_status_text ( int status)
inlinestaticprivate

Definition at line 167 of file fetch.h.

167 {
168 switch (status) {
169 case 200: return "OK";
170 case 400: return "Bad Request";
171 case 401: return "Unauthorized";
172 case 403: return "Forbidden";
173 case 404: return "Not Found";
174 case 500: return "Internal Server Error";
175 case 501: return "Not Implemented";
176 case 502: return "Bad Gateway";
177 case 503: return "Service Unavailable";
178 default: return "Unknown";
179 }
180 }
int status() const
HTTP status code (like JavaScript response.status)
Definition fetch.h:91

References status().

Referenced by response().

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