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

Method ok

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

Source from the content-addressed store, hash-verified

200}
201
202Response Response::ok(const string& body) {
203 Response resp;
204 resp.status(200).body(body);
205 return resp;
206}
207
208Response Response::not_found() {
209 Response resp;

Callers 4

expectedMethod · 0.45
expected<void, E>Class · 0.45
platformConnectMethod · 0.45
onEventMethod · 0.45

Calls 2

statusMethod · 0.80
ResponseClass · 0.70

Tested by

no test coverage detected