MCPcopy Create free account
hub / github.com/acl-dev/acl / doGet

Method doGet

app/wizard_demo/httpd_proxy/http_servlet.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45bool http_servlet::doGet(request_t& req, response_t& res)
46{
47 const char* path = req.getPathInfo();
48 handler_t handler = path && *path ? handlers_[path] : NULL;
49 return handler ? (this->*handler)(req, res) : transfer_get(req, res);
50}
51
52bool http_servlet::doPost(request_t& req, response_t& res)
53{

Callers

nothing calls this directly

Calls 1

getPathInfoMethod · 0.80

Tested by

no test coverage detected