MCPcopy Create free account
hub / github.com/FastLED/FastLED / bad_request

Method bad_request

src/fl/stl/asio/http/server.cpp.hpp:214–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214Response Response::bad_request(const string& message) {
215 Response resp;
216 resp.status(400).body(message + "\n");
217 return resp;
218}
219
220Response Response::internal_error(const string& message) {
221 Response resp;

Callers

nothing calls this directly

Calls 2

statusMethod · 0.80
ResponseClass · 0.70

Tested by

no test coverage detected