MCPcopy Create free account
hub / github.com/3rdparty/libprocess / OK

Class OK

include/process/http.hpp:665–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663
664
665struct OK : Response
666{
667 OK()
668 : Response(Status::OK) {}
669
670 explicit OK(const char* body)
671 : Response(std::string(body), Status::OK) {}
672
673 explicit OK(const std::string& body)
674 : Response(body, Status::OK) {}
675
676 explicit OK(const std::string& body, const std::string& contentType)
677 : Response(body, Status::OK, contentType) {}
678
679 OK(const JSON::Value& value, const Option<std::string>& jsonp = None());
680
681 OK(JSON::Proxy&& value, const Option<std::string>& jsonp = None());
682};
683
684
685struct Accepted : Response

Callers 15

toggleMethod · 0.85
helpMethod · 0.85
startMethod · 0.85
startMethod · 0.85
stopMethod · 0.85
statisticsMethod · 0.85
stateMethod · 0.85
synchronizedFunction · 0.85
_snapshotMethod · 0.85
TEST_FFunction · 0.85
runMethod · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 13

TEST_FFunction · 0.68
runMethod · 0.68
TEST_FFunction · 0.68
TEST_PFunction · 0.68
validateGetWithoutQueryFunction · 0.68
validateGetWithQueryFunction · 0.68
validatePostFunction · 0.68
validateDeleteFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68